diff options
Diffstat (limited to 'tests/heading_setext.rs')
-rw-r--r-- | tests/heading_setext.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/heading_setext.rs b/tests/heading_setext.rs index 22155f0..fa979be 100644 --- a/tests/heading_setext.rs +++ b/tests/heading_setext.rs @@ -258,6 +258,18 @@ fn heading_setext() { ); assert_eq!( + micromark("a\n- ==="), + "<p>a</p>\n<ul>\n<li>===</li>\n</ul>", + "should not support piercing (1)" + ); + + assert_eq!( + micromark("a\n* ---"), + "<p>a</p>\n<ul>\n<li>\n<hr />\n</li>\n</ul>", + "should not support piercing (2)" + ); + + assert_eq!( micromark_with_options( "a\n-", &Options { |