diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-07 17:21:38 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-07 17:36:35 +0200 |
commit | 4806864e5377a5fef937b3fa02542e620c547969 (patch) | |
tree | c91ae2bbd1dc2037f425efd24d62d05e706e3e60 /tests/thematic_break.rs | |
parent | c2b4402223e53498078fc33dd55aabc0a48cdb56 (diff) | |
download | markdown-rs-4806864e5377a5fef937b3fa02542e620c547969.tar.gz markdown-rs-4806864e5377a5fef937b3fa02542e620c547969.tar.bz2 markdown-rs-4806864e5377a5fef937b3fa02542e620c547969.zip |
Add basic support for block quotes
Diffstat (limited to '')
-rw-r--r-- | tests/thematic_break.rs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/thematic_break.rs b/tests/thematic_break.rs index 03f1b7a..7a15c32 100644 --- a/tests/thematic_break.rs +++ b/tests/thematic_break.rs @@ -148,19 +148,18 @@ fn thematic_break() { "should not support thematic breaks w/ dashes interrupting paragraphs (setext heading)" ); - // To do: list. + // To do: lists. // assert_eq!( // micromark("- Foo\n- * * *"), // "<ul>\n<li>Foo</li>\n<li>\n<hr />\n</li>\n</ul>", // "should support thematic breaks in lists" // ); - // To do: blockquote. - // assert_eq!( - // micromark("> ---\na"), - // "<blockquote>\n<hr />\n</blockquote>\n<p>a</p>", - // "should not support lazyness (1)" - // ); + assert_eq!( + micromark("> ---\na"), + "<blockquote>\n<hr />\n</blockquote>\n<p>a</p>", + "should not support lazyness (1)" + ); // assert_eq!( // micromark("> a\n---"), |