mirror of
https://github.com/crate-ci/typos.git
synced 2025-02-13 08:40:29 -05:00
test(cli): Show extend-ignore on file names
This commit is contained in:
parent
5bd389de71
commit
a9afeef275
3 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
[default]
|
[default]
|
||||||
extend-ignore-re = ["`.*`"]
|
extend-ignore-re = ["`.*`", "olt-manager"]
|
||||||
|
|
||||||
[default.extend-identifiers]
|
[default.extend-identifiers]
|
||||||
hello = "goodbye"
|
hello = "goodbye"
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
One olt two
|
||||||
|
One manager two
|
||||||
|
One olt-manager two
|
|
@ -1,4 +1,5 @@
|
||||||
bin.name = "typos"
|
bin.name = "typos"
|
||||||
|
args = "-j1"
|
||||||
stdin = ""
|
stdin = ""
|
||||||
stdout = """
|
stdout = """
|
||||||
error: `hello` should be `goodbye`
|
error: `hello` should be `goodbye`
|
||||||
|
@ -7,6 +8,14 @@ error: `hello` should be `goodbye`
|
||||||
1 | hello `hello`
|
1 | hello `hello`
|
||||||
| ^^^^^
|
| ^^^^^
|
||||||
|
|
|
|
||||||
|
error: `olt` should be `old`
|
||||||
|
--> ./olt-manager.php:1
|
||||||
|
error: `olt` should be `old`
|
||||||
|
--> ./olt-manager.php:1:5
|
||||||
|
|
|
||||||
|
1 | One olt two
|
||||||
|
| ^^^
|
||||||
|
|
|
||||||
"""
|
"""
|
||||||
stderr = ""
|
stderr = ""
|
||||||
status.code = 2
|
status.code = 2
|
||||||
|
|
Loading…
Add table
Reference in a new issue