]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/markdown/tests.rs
Rollup merge of #105682 - thomcc:expose-ptr-fmt, r=RalfJung
[rust.git] / src / librustdoc / html / markdown / tests.rs
index 68b31a6ee083d1f82b1bfcfa4131913e451cd0e9..5878c58264ec361f7c008a1165a6e43d9f0bae2e 100644 (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>",
     );
 }