Skip to content

Commit

Permalink
Rollup merge of rust-lang#105560 - GuillaumeGomez:extend-rustdoc-hash…
Browse files Browse the repository at this point in the history
…tag-prep-line, r=notriddle

Extend rustdoc hashtag prepended line test

Follow-up of rust-lang#105539. This case wasn't checked so better add it.

r? `@notriddle`
  • Loading branch information
matthiaskrgr committed Dec 11, 2022
2 parents 79f99e7 + 6e583ff commit 427ea68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/librustdoc/html/markdown/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,14 @@ fn test_ascii_with_prepending_hashtag() {
#..#.#....#....#....#..#.
#..#.#....#....#....#..#.
#..#.####.####.####..##..
</code></pre></div>",
);
t(
r#"```markdown
# hello
```"#,
"<div class=\"example-wrap\"><pre class=\"language-markdown\"><code>\
# hello
</code></pre></div>",
);
}

0 comments on commit 427ea68

Please sign in to comment.