diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-08 17:40:15 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-08 17:40:15 +0200 |
commit | 59c4ec0fb54c9263ac3a127d2b1c4fd7f0d490d6 (patch) | |
tree | d2ed946e29300d2d563a128071053cdfaa15d4cf /tests/definition.rs | |
parent | ac3cfc8253e3d3761c65b3c9db5c990f5b07f161 (diff) | |
download | markdown-rs-59c4ec0fb54c9263ac3a127d2b1c4fd7f0d490d6.tar.gz markdown-rs-59c4ec0fb54c9263ac3a127d2b1c4fd7f0d490d6.tar.bz2 markdown-rs-59c4ec0fb54c9263ac3a127d2b1c4fd7f0d490d6.zip |
Fix container bug due to attempts
Diffstat (limited to 'tests/definition.rs')
-rw-r--r-- | tests/definition.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/definition.rs b/tests/definition.rs index ffb3460..0686b6d 100644 --- a/tests/definition.rs +++ b/tests/definition.rs @@ -165,12 +165,11 @@ fn definition() { "should not support definitions in paragraphs" ); - // To do: block quote (some bug). - // assert_eq!( - // micromark("# [Foo]\n[foo]: /url\n> bar"), - // "<h1><a href=\"/url\">Foo</a></h1>\n<blockquote>\n<p>bar</p>\n</blockquote>", - // "should not support definitions in headings" - // ); + assert_eq!( + micromark("# [Foo]\n[foo]: /url\n> bar"), + "<h1><a href=\"/url\">Foo</a></h1>\n<blockquote>\n<p>bar</p>\n</blockquote>", + "should not support definitions in headings" + ); assert_eq!( micromark("[foo]: /url\nbar\n===\n[foo]"), |