Skip to content

Commit a1525bc

Browse files
committed
test(config): Improve failure output
1 parent 7e85211 commit a1525bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ f1 = 1
275275

276276
// It should NOT have warned for the symlink.
277277
let output = read_output(config);
278-
assert_eq!(output, "");
278+
assert_match("", &output);
279279
}
280280

281281
#[cargo_test]
@@ -301,7 +301,7 @@ f1 = 1
301301

302302
// It should NOT have warned for the symlink.
303303
let output = read_output(config);
304-
assert_eq!(output, "");
304+
assert_match("", &output);
305305
}
306306

307307
#[cargo_test]

0 commit comments

Comments
 (0)