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