bin.name = "cargo-add" args = ["add", "my-package@0.4.3", "--git", "https://github.com/dcjanus/invalid", "-Zgit"] status.code = 1 stdout = "" stderr = """ Error: Cannot specify a git URL (`https://github.com/dcjanus/invalid`) with a version (`0.4.3`). """ fs.sandbox = true [env.add] CARGO_IS_TEST="1"