test(config): Reproduce types bug

This commit is contained in:
Ed Page 2023-06-21 14:17:19 -05:00
parent 1a4e9428d6
commit 77f0389a9e
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[type.asc] # GPG keys
extend-glob = ["*.asc"]
check-file = false
[default.extend-words]
foo = "bar"
[files]
extend-exclude = [
"_typos.toml"
]

View file

@ -0,0 +1 @@
foo

View file

@ -0,0 +1,11 @@
bin.name = "typos"
args = "--file-types"
status.code = 0
stdin = '''
\n\n
Destory
'''
stdout = """
./key.asc:asciidoc
"""
stderr = ""