From 75522b867b15b9a400275cfec9a2ead4ff535473 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 12 Jul 2022 13:00:53 +0200 Subject: Add initial support for lists --- tests/block_quote.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'tests/block_quote.rs') diff --git a/tests/block_quote.rs b/tests/block_quote.rs index a448ece..fe7cc5d 100644 --- a/tests/block_quote.rs +++ b/tests/block_quote.rs @@ -51,14 +51,14 @@ fn block_quote() { "should not support lazy setext headings underlines in block quotes" ); - // To do: list. + // To do: list (some bug). // assert_eq!( // micromark("> - a\n> - b"), // "
\n\n
", // "should support lists in block quotes" // ); - // To do: list. + // To do: list (some bug). // assert_eq!( // micromark("> - a\n- b"), // "
\n\n
\n", @@ -77,12 +77,11 @@ fn block_quote() { "should not support lazy fenced code in block quotes" ); - // To do: list. - // assert_eq!( - // micromark("> a\n - b"), - // "
\n

a\n- b

\n
", - // "should not support lazy indented code (or lazy list) in block quotes" - // ); + assert_eq!( + micromark("> a\n - b"), + "
\n

a\n- b

\n
", + "should not support lazy indented code (or lazy list) in block quotes" + ); assert_eq!( micromark(">"), -- cgit