bin.name = "cargo-upgrade" args = ["upgrade", "--flag"] status.code = 2 stdout = "" stderr = """ error: Found argument '--flag' which wasn't expected, or isn't valid in this context \tIf you tried to supply `--flag` as a value rather than a flag, use `-- --flag` USAGE: cargo upgrade [OPTIONS] [DEPENDENCY]... For more information try --help """ fs.sandbox = true [env.add] CARGO_IS_TEST="1"