Rollup merge of #105560 - GuillaumeGomez:extend-rustdoc-hashtag-prep-line, r=notriddle
Extend rustdoc hashtag prepended line test Follow-up of https://github.com/rust-lang/rust/pull/105539. This case wasn't checked so better add it. r? `@notriddle`
This commit is contained in:
commit
427ea68278
1 changed files with 8 additions and 0 deletions
|
|
@ -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>",
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue