mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
test(cmd): Show binary exclude bug
This commit is contained in:
parent
598daf1da6
commit
b33ced2143
2 changed files with 13 additions and 2 deletions
3
crates/typos-cli/tests/cmd/force-exclude.in/binary
Normal file
3
crates/typos-cli/tests/cmd/force-exclude.in/binary
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
%PDF
|
||||||
|
|
||||||
|
hello
|
|
@ -1,5 +1,13 @@
|
||||||
bin.name = "typos"
|
bin.name = "typos"
|
||||||
args = "file.ignore ignore/file parent/ignore/file --force-exclude"
|
args = "file.ignore ignore/file parent/ignore/file binary --force-exclude"
|
||||||
stdin = ""
|
stdin = ""
|
||||||
stdout = ""
|
stdout = """
|
||||||
|
error: `hello` should be `goodbye`
|
||||||
|
--> binary:3:1
|
||||||
|
|
|
||||||
|
3 | hello
|
||||||
|
| ^^^^^
|
||||||
|
|
|
||||||
|
"""
|
||||||
stderr = ""
|
stderr = ""
|
||||||
|
status.code = 2
|
||||||
|
|
Loading…
Reference in a new issue