diff options
Diffstat (limited to 'src/librustdoc/html/markdown')
-rw-r--r-- | src/librustdoc/html/markdown/tests.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/librustdoc/html/markdown/tests.rs b/src/librustdoc/html/markdown/tests.rs index 68b31a6ee..5878c5826 100644 --- a/src/librustdoc/html/markdown/tests.rs +++ b/src/librustdoc/html/markdown/tests.rs @@ -345,4 +345,12 @@ 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>", + ); } |