mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
test(cli): Show no file error
This commit is contained in:
parent
f8d11b3a69
commit
cfa1821100
2 changed files with 8 additions and 0 deletions
0
crates/typos-cli/tests/cmd/missing-arg.in/.keep
Normal file
0
crates/typos-cli/tests/cmd/missing-arg.in/.keep
Normal file
8
crates/typos-cli/tests/cmd/missing-arg.toml
Normal file
8
crates/typos-cli/tests/cmd/missing-arg.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
bin.name = "typos"
|
||||
args = "foo"
|
||||
status.code = 64
|
||||
stdin = ""
|
||||
# stdout doesn't have stable order
|
||||
stderr = """
|
||||
No such file or directory (os error 2)
|
||||
"""
|
Loading…
Reference in a new issue