clap/tests/ui/error_stderr.toml
Ed Page 1e2471649e test(output): Ensure correct streams
This is to prevent #3648 from happening again
2022-04-22 10:56:47 -05:00

14 lines
392 B
TOML

bin.name = "stdio-fixture"
args = ["--unknown-argument"]
status.code = 2
stdout = ""
stderr = """
error: Found argument '--unknown-argument' which wasn't expected, or isn't valid in this context
\tIf you tried to supply `--unknown-argument` as a value rather than a flag, use `-- --unknown-argument`
USAGE:
stdio-fixture[EXE] [OPTIONS] [SUBCOMMAND]
For more information try --help
"""