mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-23 13:47:56 +01:00
test: Baseline for generic ignore
This commit is contained in:
1 parent
a1a601195e
commit
9d376417a0
3 files changed
+24
No files matched your search
@@ -0,0 +1,5 @@
|
||||
[files]
|
||||
extend-exclude = ["_typos.toml"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
hello = "goodbye"
|
||||
@@ -0,0 +1 @@
|
||||
hello `hello`
|
||||
@@ -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
|
||||
Reference in new issue
Block a user