diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/definition.rs | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/definition.rs b/tests/definition.rs index c6923bc..5f9c286 100644 --- a/tests/definition.rs +++ b/tests/definition.rs @@ -212,9 +212,15 @@ fn definition() -> Result<(), String> {      );      assert_eq!( +        to_html("[a]: b\n="), +        "<p>=</p>", +        "should not support setext heading underlines after definitions (1)" +    ); + +    assert_eq!(          to_html("[foo]: /url\n===\n[foo]"),          "<p>===\n<a href=\"/url\">foo</a></p>", -        "should not support setext heading underlines after definitions" +        "should not support setext heading underlines after definitions (2)"      );      assert_eq!(  | 
