mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Extend rustdoc hashtag prepended line test
This commit is contained in:
@@ -343,6 +343,14 @@ fn t(input: &str, expect: &str) {
|
||||
#..#.#....#....#....#..#.
|
||||
#..#.#....#....#....#..#.
|
||||
#..#.####.####.####..##..
|
||||
</code></pre></div>",
|
||||
);
|
||||
t(
|
||||
r#"```markdown
|
||||
# hello
|
||||
```"#,
|
||||
"<div class=\"example-wrap\"><pre class=\"language-markdown\"><code>\
|
||||
# hello
|
||||
</code></pre></div>",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user