Skip to content

Commit d6ebb14

Browse files
committed
test(features2): relax compiler panic assertions
1 parent 7cb5be3 commit d6ebb14

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/testsuite/features2.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,11 +1120,7 @@ it is true
11201120
// Make sure the test is fallible.
11211121
p.cargo("test --doc")
11221122
.with_status(101)
1123-
.with_stdout_data(str![[r#"
1124-
...
1125-
assertion `left == right` failed: common is wrong
1126-
...
1127-
"#]])
1123+
.with_stdout_data("...\n[..]common is wrong[..]\n...")
11281124
.run();
11291125
p.cargo("test --doc").env("TEST_EXPECTS_ENABLED", "1").run();
11301126
p.cargo("doc").run();

0 commit comments

Comments
 (0)