mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
test(cmd): Show binary exclude bug
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
%PDF
|
||||
|
||||
hello
|
||||
@@ -1,5 +1,13 @@
|
||||
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 = ""
|
||||
stdout = ""
|
||||
stdout = """
|
||||
error: `hello` should be `goodbye`
|
||||
--> binary:3:1
|
||||
|
|
||||
3 | hello
|
||||
| ^^^^^
|
||||
|
|
||||
"""
|
||||
stderr = ""
|
||||
status.code = 2
|
||||
|
||||
Reference in New Issue
Block a user