update test to get ci passing

This commit is contained in:
Eh2406 2018-07-11 16:55:25 -04:00
parent 84cc3d8b09
commit 3f5036ae4d
3 changed files with 3 additions and 0 deletions

View file

@ -1020,6 +1020,7 @@ fn cargo_compile_with_dep_name_mismatch() {
execs().with_status(101).with_stderr(&format!(
r#"error: no matching package named `notquitebar` found
location searched: {proj_dir}/bar
did you mean: bar
required by package `foo v0.0.1 ({proj_dir})`
"#,
proj_dir = p.url()

View file

@ -230,6 +230,7 @@ error: failed to compile `bar v0.1.0`, intermediate artifacts can be found at `[
Caused by:
no matching package named `baz` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
did you mean: bar or foo
required by package `bar v0.1.0`
",
),

View file

@ -1239,6 +1239,7 @@ fn invalid_path_dep_in_workspace_with_lockfile() {
"\
error: no matching package named `bar` found
location searched: [..]
did you mean: foo
required by package `foo v0.5.0 ([..])`
",
),