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 1bbc056 commit 2e3a74cCopy full SHA for 2e3a74c
tests/testsuite/pkgid.rs
@@ -93,6 +93,19 @@ Did you mean one of these?
93
94
two-ver:0.1.0
95
two-ver:0.2.0
96
+",
97
+ )
98
+ .run();
99
+
100
+ // Bad file URL.
101
+ p.cargo("pkgid ./Cargo.toml")
102
+ .with_status(101)
103
+ .with_stderr(
104
+ "\
105
+error: invalid package ID specification: `./Cargo.toml`
106
107
+Caused by:
108
+ package ID specification `./Cargo.toml` looks like a file path, maybe try file://[..]/Cargo.toml
109
",
110
)
111
.run();
0 commit comments