diff options
Diffstat (limited to 'tests/heading_setext.rs')
-rw-r--r-- | tests/heading_setext.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/heading_setext.rs b/tests/heading_setext.rs index 29e8dd2..3bc1eef 100644 --- a/tests/heading_setext.rs +++ b/tests/heading_setext.rs @@ -250,6 +250,12 @@ fn heading_setext() -> Result<(), String> { ); assert_eq!( + to_html("[a]: b\n=\n="), + "<h1>=</h1>", + "should support a two setext heading underlines after a definition, as a setext heading" + ); + + assert_eq!( to_html("> ===\na"), "<blockquote>\n<p>===\na</p>\n</blockquote>", "should not support lazyness (1)" |