diff options
Diffstat (limited to 'tests/thematic_break.rs')
-rw-r--r-- | tests/thematic_break.rs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/thematic_break.rs b/tests/thematic_break.rs index 5bcc75d..02be90f 100644 --- a/tests/thematic_break.rs +++ b/tests/thematic_break.rs @@ -126,14 +126,13 @@ fn thematic_break() { "should not support thematic breaks w/ mixed markers" ); - // To do: lists. - // assert_eq!( - // micromark("- foo\n***\n- bar"), - // "<ul>\n<li>foo</li>\n</ul>\n<hr />\n<ul>\n<li>bar</li>\n</ul>", - // "should support thematic breaks mixed w/ lists (1)" - // ); + assert_eq!( + micromark("- foo\n***\n- bar"), + "<ul>\n<li>foo</li>\n</ul>\n<hr />\n<ul>\n<li>bar</li>\n</ul>", + "should support thematic breaks mixed w/ lists (1)" + ); - // To do: lists. + // To do: list (prefer thematic break). // assert_eq!( // micromark("* Foo\n* * *\n* Bar"), // "<ul>\n<li>Foo</li>\n</ul>\n<hr />\n<ul>\n<li>Bar</li>\n</ul>", @@ -152,7 +151,7 @@ fn thematic_break() { "should not support thematic breaks w/ dashes interrupting paragraphs (setext heading)" ); - // To do: lists. + // To do: list (prefer thematic break). // assert_eq!( // micromark("- Foo\n- * * *"), // "<ul>\n<li>Foo</li>\n<li>\n<hr />\n</li>\n</ul>", |