Skip to content

Commit

Permalink
Auto merge of #10117 - estebank:update-test-for-emoji, r=ehuss
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Nov 24, 2021
2 parents e1fb176 + 0dfe70f commit 7f08ace
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/testsuite/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -803,17 +803,15 @@ fn output_not_captured() {
"a/src/lib.rs",
"
/// ```
///
/// `
/// ```
pub fn foo() {}
",
)
.build();

p.cargo("doc")
.without_status()
.with_stderr_contains("[..]☃")
.with_stderr_contains(r"[..]unknown start of token: \u{2603}")
.with_stderr_contains("[..]unknown start of token: `")
.run();
}

Expand Down

0 comments on commit 7f08ace

Please sign in to comment.