Skip to content

Commit 427ea68

Browse files
authored
Rollup merge of rust-lang#105560 - GuillaumeGomez:extend-rustdoc-hashtag-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`
2 parents 79f99e7 + 6e583ff commit 427ea68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/librustdoc/html/markdown/tests.rs

+8
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,14 @@ fn test_ascii_with_prepending_hashtag() {
343343
#..#.#....#....#....#..#.
344344
#..#.#....#....#....#..#.
345345
#..#.####.####.####..##..
346+
</code></pre></div>",
347+
);
348+
t(
349+
r#"```markdown
350+
# hello
351+
```"#,
352+
"<div class=\"example-wrap\"><pre class=\"language-markdown\"><code>\
353+
# hello
346354
</code></pre></div>",
347355
);
348356
}

0 commit comments

Comments
 (0)