From 59c4ec0fb54c9263ac3a127d2b1c4fd7f0d490d6 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 8 Jul 2022 17:40:15 +0200 Subject: Fix container bug due to attempts --- tests/block_quote.rs | 2 +- tests/code_indented.rs | 12 ++++++------ tests/definition.rs | 11 +++++------ 3 files changed, 12 insertions(+), 13 deletions(-) (limited to 'tests') diff --git a/tests/block_quote.rs b/tests/block_quote.rs index af9e9d9..5967f78 100644 --- a/tests/block_quote.rs +++ b/tests/block_quote.rs @@ -67,7 +67,7 @@ fn block_quote() { // "should not support lazy lists in block quotes" // ); - // To do: block quote (lazy, code (indented)). + // To do: block quote (lazy, code (indented), some bug). // assert_eq!( // micromark("> a\n b"), // "
\n
a\n
\n
\n
b\n
", diff --git a/tests/code_indented.rs b/tests/code_indented.rs index ba1b483..f06cf4c 100644 --- a/tests/code_indented.rs +++ b/tests/code_indented.rs @@ -82,42 +82,42 @@ fn code_indented() { "should not support lazyness (1)" ); - // To do: blockquote (lazy). + // To do: blockquote (lazy, some bug). // assert_eq!( // micromark("> a\n b"), // "
\n

a\nb

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

a\nb

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

a\nb

\n
", // "should not support lazyness (4)" // ); - // To do: blockquote (lazy). + // To do: blockquote (lazy, some bug). // assert_eq!( // micromark("> a\n b"), // "
\n
a\n
\n
\n
b\n
", // "should not support lazyness (5)" // ); - // To do: blockquote (lazy). + // To do: blockquote (lazy, some bug). // assert_eq!( // micromark("> a\n b"), // "
\n
a\n
\n
\n
 b\n
", // "should not support lazyness (6)" // ); - // To do: blockquote (lazy). + // To do: blockquote (lazy, some bug). // assert_eq!( // micromark("> a\n b"), // "
\n
a\n
\n
\n
  b\n
", diff --git a/tests/definition.rs b/tests/definition.rs index ffb3460..0686b6d 100644 --- a/tests/definition.rs +++ b/tests/definition.rs @@ -165,12 +165,11 @@ fn definition() { "should not support definitions in paragraphs" ); - // To do: block quote (some bug). - // assert_eq!( - // micromark("# [Foo]\n[foo]: /url\n> bar"), - // "

Foo

\n
\n

bar

\n
", - // "should not support definitions in headings" - // ); + assert_eq!( + micromark("# [Foo]\n[foo]: /url\n> bar"), + "

Foo

\n
\n

bar

\n
", + "should not support definitions in headings" + ); assert_eq!( micromark("[foo]: /url\nbar\n===\n[foo]"), -- cgit