test(config): Verify bad merge

This commit is contained in:
Ed Page 2023-06-22 09:16:23 -05:00
parent 84c8b30e06
commit 72c773aade
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[type.rust]
check-filename = false
[default.extend-words]
foo = "bar"
[files]
extend-exclude = [
"_typos.toml"
]

View file

@ -0,0 +1 @@
flate2

View file

@ -0,0 +1,16 @@
bin.name = "typos"
args = ""
status.code = 2
stdin = '''
\n\n
Destory
'''
stdout = """
error: `flate` should be `flat`
--> ./foo.rs:1:1
|
1 | flate2
| ^^^^^
|
"""
stderr = ""