From 17d83d974eeb4f1f7516cc9d1c72d76870a0e6d0 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 9 Aug 2022 10:49:23 +0200 Subject: Add another test for lazy fenced code and block quotes --- tests/block_quote.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/block_quote.rs b/tests/block_quote.rs index 13af078..70a6aeb 100644 --- a/tests/block_quote.rs +++ b/tests/block_quote.rs @@ -72,7 +72,13 @@ fn block_quote() { assert_eq!( micromark("> ```\na\n```"), "
\n
\n
\n

a

\n
\n", - "should not support lazy fenced code in block quotes" + "should not support lazy fenced code in block quotes (1)" + ); + + assert_eq!( + micromark("> a\n```\nb"), + "
\n

a

\n
\n
b\n
\n", + "should not support lazy fenced code in block quotes (2)" ); assert_eq!( -- cgit