test: Baseline for generic ignore

This commit is contained in:
Ed Page 2023-03-18 01:20:01 -05:00
parent a1a601195e
commit 9d376417a0
3 changed files with 24 additions and 0 deletions

View file

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

View file

@ -0,0 +1 @@
hello `hello`

View file

@ -0,0 +1,18 @@
bin.name = "typos"
stdin = ""
stdout = """
error: `hello` should be `goodbye`
--> ./file.ignore:1:1
|
1 | hello `hello`
| ^^^^^
|
error: `hello` should be `goodbye`
--> ./file.ignore:1:8
|
1 | hello `hello`
| ^^^^^
|
"""
stderr = ""
status.code = 2