diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-11 14:53:45 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-11 15:04:32 +0200 |
commit | b7bd2b734fae09c40d738fcd57d5ee6876f0f504 (patch) | |
tree | ea3b7dc9b6e668823323187dbe2f2030d6965905 /tests/block_quote.rs | |
parent | 8e78fc8f209d20e8f9a76321fcbebf77fa4c57fc (diff) | |
download | markdown-rs-b7bd2b734fae09c40d738fcd57d5ee6876f0f504.tar.gz markdown-rs-b7bd2b734fae09c40d738fcd57d5ee6876f0f504.tar.bz2 markdown-rs-b7bd2b734fae09c40d738fcd57d5ee6876f0f504.zip |
Fix block quote bugs
Diffstat (limited to '')
-rw-r--r-- | tests/block_quote.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/block_quote.rs b/tests/block_quote.rs index 5e5adce..c0b10b7 100644 --- a/tests/block_quote.rs +++ b/tests/block_quote.rs @@ -67,12 +67,11 @@ fn block_quote() { // "should not support lazy lists in block quotes" // ); - // To do: block quote (lazy, code (indented), some bug). - // assert_eq!( - // micromark("> a\n b"), - // "<blockquote>\n<pre><code>a\n</code></pre>\n</blockquote>\n<pre><code>b\n</code></pre>", - // "should not support lazy indented code in block quotes" - // ); + assert_eq!( + micromark("> a\n b"), + "<blockquote>\n<pre><code>a\n</code></pre>\n</blockquote>\n<pre><code>b\n</code></pre>", + "should not support lazy indented code in block quotes" + ); assert_eq!( micromark("> ```\na\n```"), |