We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6431336 commit cf58031Copy full SHA for cf58031
tests/install.rs
@@ -962,3 +962,11 @@ fn test_install_git_cannot_be_a_base_url() {
962
error: invalid url `github.com:rust-lang-nursery/rustfmt.git`: cannot-be-a-base-URLs are not supported
963
"));
964
}
965
+
966
+#[test]
967
+fn uninstall_multiple_and_specifying_bin() {
968
+ assert_that(cargo_process("uninstall").args(&["foo", "bar"]).arg("--bin").arg("baz"),
969
+ execs().with_status(101).with_stderr("\
970
+error: A binary can only be associated with a single installed package, specifying multiple specs with --bin is redundant.
971
+"));
972
+}
0 commit comments