bin.name = "cargo-rm" args = ["rm", "invalid_dependency_name"] status.code = 1 stdout = "" stderr = """ Removing invalid_dependency_name from dependencies Could not edit `Cargo.toml`. ERROR: The dependency `invalid_dependency_name` could not be found in `dependencies`. Error: The dependency `invalid_dependency_name` could not be found in `dependencies`. """ fs.sandbox = true [env.add] CARGO_IS_TEST="1"