From a1525bca4d9cebc1314e1f7296065973abc07ddb Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 26 Jan 2024 15:16:05 -0600 Subject: [PATCH] test(config): Improve failure output --- tests/testsuite/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]