mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
relax deprecated diagnostic message check
This commit is contained in:
parent
d484b65ab7
commit
537a020267
@ -686,7 +686,7 @@ fn shows_warnings() {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
p.cargo("fix --allow-no-vcs")
|
p.cargo("fix --allow-no-vcs")
|
||||||
.with_stderr_contains("[..]warning: use of deprecated item[..]")
|
.with_stderr_contains("[..]warning: use of deprecated[..]")
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -929,11 +929,11 @@ fn shows_warnings_on_second_run_without_changes() {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
p.cargo("fix --allow-no-vcs")
|
p.cargo("fix --allow-no-vcs")
|
||||||
.with_stderr_contains("[..]warning: use of deprecated item[..]")
|
.with_stderr_contains("[..]warning: use of deprecated[..]")
|
||||||
.run();
|
.run();
|
||||||
|
|
||||||
p.cargo("fix --allow-no-vcs")
|
p.cargo("fix --allow-no-vcs")
|
||||||
.with_stderr_contains("[..]warning: use of deprecated item[..]")
|
.with_stderr_contains("[..]warning: use of deprecated[..]")
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user