From c1b325a6dcf4bb8795dd2e5b2cdb1dcfcf61faf5 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 8 Jul 2022 13:26:23 +0200 Subject: Fix closing of flow when exiting containers --- tests/block_quote.rs | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'tests/block_quote.rs') diff --git a/tests/block_quote.rs b/tests/block_quote.rs index 02256e1..af9e9d9 100644 --- a/tests/block_quote.rs +++ b/tests/block_quote.rs @@ -47,12 +47,11 @@ fn block_quote() { "should support setext headings underlines in block quotes" ); - // To do: block quote (lazy, setext underline) - // assert_eq!( - // micromark("> a\n---"), - // "
\n

a

\n
\n
", - // "should not support lazy setext headings underlines in block quotes" - // ); + assert_eq!( + micromark("> a\n---"), + "
\n

a

\n
\n
", + "should not support lazy setext headings underlines in block quotes" + ); // To do: list. // assert_eq!( @@ -156,26 +155,25 @@ fn block_quote() { "should not support interrupting a blank line in a block quotes w/ paragraphs" ); - // To do: block quote (multi, lazy). + // To do: block quote (lazy). // assert_eq!( // micromark("> > > a\nb"), // "
\n
\n
\n

a\nb

\n
\n
\n
", // "should not support interrupting many block quotes w/ paragraphs (1)" // ); - // To do: block quote (multi, lazy). + // To do: block quote (lazy). // assert_eq!( // micromark(">>> a\n> b\n>>c"), // "
\n
\n
\n

a\nb\nc

\n
\n
\n
", // "should not support interrupting many block quotes w/ paragraphs (2)" // ); - // To do: block quote (exit flow if container exits). - // assert_eq!( - // micromark("> a\n\n> b"), - // "
\n
a\n
\n
\n
\n

b

\n
", - // "should support 5 spaces for indented code, not 4" - // ); + assert_eq!( + micromark("> a\n\n> b"), + "
\n
a\n
\n
\n
\n

b

\n
", + "should support 5 spaces for indented code, not 4" + ); // To do: turning things off. // assert_eq!( -- cgit