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 cc6b437 commit 9d9c321Copy full SHA for 9d9c321
tests/testsuite/install.rs
@@ -1181,6 +1181,18 @@ fn uninstall_multiple_and_specifying_bin() {
1181
.run();
1182
}
1183
1184
+#[cargo_test]
1185
+fn uninstall_with_empty_pakcage_option() {
1186
+ cargo_process("uninstall -p")
1187
+ .with_status(101)
1188
+ .with_stderr("\
1189
+[ERROR] \"--package <SPEC>\" requires a SPEC format value.
1190
+Run `cargo help pkgid` for more information about SPEC format.
1191
+",
1192
+ )
1193
+ .run();
1194
+}
1195
+
1196
#[cargo_test]
1197
fn uninstall_multiple_and_some_pkg_does_not_exist() {
1198
pkg("foo", "0.0.1");
0 commit comments