mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-16 10:53:58 +01:00
Add initial test preparing "--force-exclude"
This commit is contained in:
1 parent
32c1731302
commit
442b1199da
3 files changed
+19
No files matched your search
@@ -0,0 +1,5 @@
|
||||
[files]
|
||||
extend-exclude = ["file.ignore"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
hello = "goodbye"
|
||||
@@ -0,0 +1 @@
|
||||
hello
|
||||
@@ -0,0 +1,13 @@
|
||||
bin.name = "typos"
|
||||
args = "file.ignore"
|
||||
stdin = ""
|
||||
stdout = """
|
||||
error: `hello` should be `goodbye`
|
||||
--> file.ignore:1:1
|
||||
|
|
||||
1 | hello
|
||||
| ^^^^^
|
||||
|
|
||||
"""
|
||||
stderr = ""
|
||||
status.code = 2
|
||||
Reference in new issue
Block a user