Extend rustdoc hashtag prepended line test

This commit is contained in:
Guillaume Gomez
2022-12-11 14:37:55 +01:00
parent f34356eace
commit 6e583ffbd9
+8
View File
@@ -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>",
);
}