diff --git a/tests/testsuite/config.rs b/tests/testsuite/config.rs index e86389b39bd..e02cd445d90 100644 --- a/tests/testsuite/config.rs +++ b/tests/testsuite/config.rs @@ -275,7 +275,7 @@ f1 = 1 // It should NOT have warned for the symlink. let output = read_output(config); - assert_eq!(output, ""); + assert_match("", &output); } #[cargo_test] @@ -301,7 +301,7 @@ f1 = 1 // It should NOT have warned for the symlink. let output = read_output(config); - assert_eq!(output, ""); + assert_match("", &output); } #[cargo_test]