diff --git a/tests/testsuite/freshness.rs b/tests/testsuite/freshness.rs index 4ac2c01411b..c89d86f84cc 100644 --- a/tests/testsuite/freshness.rs +++ b/tests/testsuite/freshness.rs @@ -2934,7 +2934,7 @@ fn use_mtime_cache_in_cargo_home() { p.cargo("check -v") .env("CARGO_HOME", &cargo_home) .with_status(101) - .with_stderr( + .with_stderr_contains( "\ [DIRTY] foo v0.5.0 ([CWD]): [..] [CHECKING] foo v0.5.0 ([CWD])