Skip to content

Commit 10e3230

Browse files
committed
Auto merge of #6559 - euclio:relax-rustdoc-output, r=ehuss
relax rustdoc output assertion The output of this rustdoc error is changing in rust-lang/rust#56884. This PR relaxes an assertion on the output so that the test will still pass once the rustdoc PR is merged.
2 parents 513d230 + eda10a4 commit 10e3230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/doc.rs

Lines changed: 2 additions & 2 deletions
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)