diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-16 19:04:16 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-16 19:04:16 +0200 |
commit | 60ea2fd3a09f10fa28bf48575736b47afebf3221 (patch) | |
tree | f7aae5cec9181f7ff5df23e648fe1da22a94209f /tests/thematic_break.rs | |
parent | ef14d6581848ba5052d3389bb61fc96645551eef (diff) | |
download | markdown-rs-60ea2fd3a09f10fa28bf48575736b47afebf3221.tar.gz markdown-rs-60ea2fd3a09f10fa28bf48575736b47afebf3221.tar.bz2 markdown-rs-60ea2fd3a09f10fa28bf48575736b47afebf3221.zip |
Add heading (setext)
Diffstat (limited to 'tests/thematic_break.rs')
-rw-r--r-- | tests/thematic_break.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/thematic_break.rs b/tests/thematic_break.rs index 3dc7b5d..cbc84e0 100644 --- a/tests/thematic_break.rs +++ b/tests/thematic_break.rs @@ -144,12 +144,11 @@ fn thematic_break() { "should support thematic breaks interrupting paragraphs" ); - // To do: setext. - // assert_eq!( - // micromark("Foo\n---\nbar"), - // "<h2>Foo</h2>\n<p>bar</p>", - // "should not support thematic breaks w/ dashes interrupting paragraphs (setext heading)" - // ); + assert_eq!( + micromark("Foo\n---\nbar"), + "<h2>Foo</h2>\n<p>bar</p>", + "should not support thematic breaks w/ dashes interrupting paragraphs (setext heading)" + ); // To do: list. // assert_eq!( |