Skip to content

Commit eda10a4

Browse files
committed
relax rustdoc output assertion
1 parent 513d230 commit eda10a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/doc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,8 @@ fn output_not_captured() {
679679

680680
p.cargo("doc")
681681
.without_status()
682-
.with_stderr_contains("1 | ☃")
683-
.with_stderr_contains(r"error: unknown start of token: \u{2603}")
682+
.with_stderr_contains("[..]☃")
683+
.with_stderr_contains(r"[..]unknown start of token: \u{2603}")
684684
.run();
685685
}
686686

0 commit comments

Comments
 (0)