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 ee85ada commit 77f54ccCopy full SHA for 77f54cc
tests/testsuite/install.rs
@@ -396,6 +396,19 @@ fn bad_version() {
396
.run();
397
}
398
399
+#[cargo_test]
400
+fn missing_at_symbol_before_version() {
401
+ pkg("foo", "0.0.1");
402
+ cargo_process("install foo=0.2.0")
403
+ .with_status(101)
404
+ .with_stderr_data(str![[r#"
405
+[UPDATING] `dummy-registry` index
406
+[ERROR] could not find `foo=0.2.0` in registry `crates-io` with version `*`
407
+
408
+"#]])
409
+ .run();
410
+}
411
412
#[cargo_test]
413
fn bad_paths() {
414
cargo_process("install")
0 commit comments