Skip to content

Commit 6e583ff

Browse files
Extend rustdoc hashtag prepended line test
1 parent f34356e commit 6e583ff

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)