You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/testsuite/install.rs
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1131,12 +1131,20 @@ and will continue to do so, but this behavior will be removed eventually
1131
1131
1132
1132
#[cargo_test]
1133
1133
fntest_install_git_cannot_be_a_base_url(){
1134
-
cargo_process("install --git github.com:rust-lang-nursery/rustfmt.git").with_status(101).with_stderr("error: invalid url `github.com:rust-lang-nursery/rustfmt.git`: cannot-be-a-base-URLs are not supported").run();
[ERROR] invalid url `github.com:rust-lang-nursery/rustfmt.git`: cannot-be-a-base-URLs are not supported")
1138
+
.run();
1135
1139
}
1136
1140
1137
1141
#[cargo_test]
1138
1142
fnuninstall_multiple_and_specifying_bin(){
1139
-
cargo_process("uninstall foo bar --bin baz").with_status(101).with_stderr("error: A binary can only be associated with a single installed package, specifying multiple specs with --bin is redundant.").run();
1143
+
cargo_process("uninstall foo bar --bin baz")
1144
+
.with_status(101)
1145
+
.with_stderr("\
1146
+
[ERROR] A binary can only be associated with a single installed package, specifying multiple specs with --bin is redundant.")
0 commit comments