From 537a0202679b9ccd2a951d2695a2ad7b18b16415 Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Thu, 30 Jul 2020 21:04:22 -0400 Subject: [PATCH] relax deprecated diagnostic message check --- tests/testsuite/fix.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testsuite/fix.rs b/tests/testsuite/fix.rs index 3a293cfc2..c54cd77c0 100644 --- a/tests/testsuite/fix.rs +++ b/tests/testsuite/fix.rs @@ -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(); }