bin.name = "cargo-add" args = ["add", "my-package", "--dev", "--build"] status.code = 2 stdout = "" stderr = """ error: The argument '--dev' cannot be used with '--build' USAGE: cargo add [OPTIONS] [@] [+,...] ... cargo add [OPTIONS] [+,...] ... For more information try --help """ fs.sandbox = true [env.add] CARGO_IS_TEST="1"