Skip to content

Commit 3f5036a

Browse files
committed
update test to get ci passing
1 parent 84cc3d8 commit 3f5036a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tests/testsuite/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,7 @@ fn cargo_compile_with_dep_name_mismatch() {
10201020
execs().with_status(101).with_stderr(&format!(
10211021
r#"error: no matching package named `notquitebar` found
10221022
location searched: {proj_dir}/bar
1023+
did you mean: bar
10231024
required by package `foo v0.0.1 ({proj_dir})`
10241025
"#,
10251026
proj_dir = p.url()

tests/testsuite/directory.rs

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ error: failed to compile `bar v0.1.0`, intermediate artifacts can be found at `[
230230
Caused by:
231231
no matching package named `baz` found
232232
location searched: registry `https://github.com/rust-lang/crates.io-index`
233+
did you mean: bar or foo
233234
required by package `bar v0.1.0`
234235
",
235236
),

tests/testsuite/path.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,7 @@ fn invalid_path_dep_in_workspace_with_lockfile() {
12391239
"\
12401240
error: no matching package named `bar` found
12411241
location searched: [..]
1242+
did you mean: foo
12421243
required by package `foo v0.5.0 ([..])`
12431244
",
12441245
),

0 commit comments

Comments
 (0)