bin.name = "cargo-add" args = ["add", "my-package", "--git", "https://github.com/dcjanus/invalid", "--registry", "alternative", "-Zgit"] status.code = 2 stdout = "" stderr = """ error: The argument '--git ' cannot be used with '--registry ' USAGE: cargo add [OPTIONS] [@] [+,...] ... cargo add [OPTIONS] [+,...] ... For more information try --help """ fs.sandbox = true [env.add] CARGO_IS_TEST="1"