mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 23:52:12 -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]
|
||||
extend-ignore-re = ["`.*`"]
|
||||
extend-ignore-re = ["`.*`", "olt-manager"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
hello = "goodbye"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
One olt two
|
||||
One manager two
|
||||
One olt-manager two
|
|
@ -1,4 +1,5 @@
|
|||
bin.name = "typos"
|
||||
args = "-j1"
|
||||
stdin = ""
|
||||
stdout = """
|
||||
error: `hello` should be `goodbye`
|
||||
|
@ -7,6 +8,14 @@ error: `hello` should be `goodbye`
|
|||
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 = ""
|
||||
status.code = 2
|
||||
|
|
Loading…
Reference in a new issue