From b7bd2b734fae09c40d738fcd57d5ee6876f0f504 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 11 Jul 2022 14:53:45 +0200 Subject: Fix block quote bugs --- tests/block_quote.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/block_quote.rs') 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"), - // "
\n
a\n
\n
\n
b\n
", - // "should not support lazy indented code in block quotes" - // ); + assert_eq!( + micromark("> a\n b"), + "
\n
a\n
\n
\n
b\n
", + "should not support lazy indented code in block quotes" + ); assert_eq!( micromark("> ```\na\n```"), -- cgit