Skip to content

Commit

Permalink
test(cmd): Show binary exclude bug
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 23, 2024
1 parent 598daf1 commit b33ced2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions crates/typos-cli/tests/cmd/force-exclude.in/binary
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
%PDF

hello
12 changes: 10 additions & 2 deletions crates/typos-cli/tests/cmd/force-exclude.toml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b33ced2

Please sign in to comment.