From 4806864e5377a5fef937b3fa02542e620c547969 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 7 Jul 2022 17:21:38 +0200 Subject: Add basic support for block quotes --- tests/code_indented.rs | 78 +++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 36 deletions(-) (limited to 'tests/code_indented.rs') diff --git a/tests/code_indented.rs b/tests/code_indented.rs index 773e3d4..d7cf181 100644 --- a/tests/code_indented.rs +++ b/tests/code_indented.rs @@ -76,48 +76,54 @@ fn code_indented() { "should support trailing whitespace" ); - // To do: blockquote. - // assert_eq!( - // micromark("> a\nb"), - // "
\n
a\n
\n
\n

b

", - // "should not support lazyness (1)" - // ); + // To do: blockquote (some bug). + // assert_eq!( + // micromark("> a\nb"), + // "
\n
a\n
\n
\n

b

", + // "should not support lazyness (1)" + // ); - // assert_eq!( - // micromark("> a\n b"), - // "
\n

a\nb

\n
", - // "should not support lazyness (2)" - // ); + // To do: blockquote (lazy). + // assert_eq!( + // micromark("> a\n b"), + // "
\n

a\nb

\n
", + // "should not support lazyness (2)" + // ); - // assert_eq!( - // micromark("> a\n b"), - // "
\n

a\nb

\n
", - // "should not support lazyness (3)" - // ); + // To do: blockquote (lazy). + // assert_eq!( + // micromark("> a\n b"), + // "
\n

a\nb

\n
", + // "should not support lazyness (3)" + // ); - // assert_eq!( - // micromark("> a\n b"), - // "
\n

a\nb

\n
", - // "should not support lazyness (4)" - // ); + // To do: blockquote (lazy). + // assert_eq!( + // micromark("> a\n b"), + // "
\n

a\nb

\n
", + // "should not support lazyness (4)" + // ); - // assert_eq!( - // micromark("> a\n b"), - // "
\n
a\n
\n
\n
b\n
", - // "should not support lazyness (5)" - // ); + // To do: blockquote (lazy). + // assert_eq!( + // micromark("> a\n b"), + // "
\n
a\n
\n
\n
b\n
", + // "should not support lazyness (5)" + // ); - // assert_eq!( - // micromark("> a\n b"), - // "
\n
a\n
\n
\n
 b\n
", - // "should not support lazyness (6)" - // ); + // To do: blockquote (lazy). + // assert_eq!( + // micromark("> a\n b"), + // "
\n
a\n
\n
\n
 b\n
", + // "should not support lazyness (6)" + // ); - // assert_eq!( - // micromark("> a\n b"), - // "
\n
a\n
\n
\n
  b\n
", - // "should not support lazyness (7)" - // ); + // To do: blockquote (lazy). + // assert_eq!( + // micromark("> a\n b"), + // "
\n
a\n
\n
\n
  b\n
", + // "should not support lazyness (7)" + // ); // To do: turning things off. // assert_eq!( -- cgit