Skip to content

Commit 7f08ace

Browse files
committed
Auto merge of #10117 - estebank:update-test-for-emoji, r=ehuss
Change test to not trigger emoji error This change is needed to land rust-lang/rust#88781, as it changes the handling of emojis in source code to treat them as identifiers.
2 parents e1fb176 + 0dfe70f commit 7f08ace

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/testsuite/doc.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -803,17 +803,15 @@ fn output_not_captured() {
803803
"a/src/lib.rs",
804804
"
805805
/// ```
806-
///
806+
/// `
807807
/// ```
808808
pub fn foo() {}
809809
",
810810
)
811811
.build();
812812

813813
p.cargo("doc")
814-
.without_status()
815-
.with_stderr_contains("[..]☃")
816-
.with_stderr_contains(r"[..]unknown start of token: \u{2603}")
814+
.with_stderr_contains("[..]unknown start of token: `")
817815
.run();
818816
}
819817

0 commit comments

Comments
 (0)