Add initial test preparing "--force-exclude"

This commit is contained in:
Delgan 2023-10-07 22:01:11 +00:00
parent 32c1731302
commit 442b1199da
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,5 @@
[files]
extend-exclude = ["file.ignore"]
[default.extend-identifiers]
hello = "goodbye"

View file

@ -0,0 +1 @@
hello

View file

@ -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