relax deprecated diagnostic message check

This commit is contained in:
Andy Russell 2020-07-30 21:04:22 -04:00
parent d484b65ab7
commit 537a020267
No known key found for this signature in database
GPG Key ID: BE2221033EDBC374

View File

@ -686,7 +686,7 @@ fn shows_warnings() {
.build();
p.cargo("fix --allow-no-vcs")
.with_stderr_contains("[..]warning: use of deprecated item[..]")
.with_stderr_contains("[..]warning: use of deprecated[..]")
.run();
}
@ -929,11 +929,11 @@ fn shows_warnings_on_second_run_without_changes() {
.build();
p.cargo("fix --allow-no-vcs")
.with_stderr_contains("[..]warning: use of deprecated item[..]")
.with_stderr_contains("[..]warning: use of deprecated[..]")
.run();
p.cargo("fix --allow-no-vcs")
.with_stderr_contains("[..]warning: use of deprecated item[..]")
.with_stderr_contains("[..]warning: use of deprecated[..]")
.run();
}