From e869533b99eecdc133ed3b4bedc22d24dc2c2dd9 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 20 Jun 2022 18:37:09 +0200 Subject: Fix bug with tabs --- tests/definition.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/definition.rs') diff --git a/tests/definition.rs b/tests/definition.rs index f0869a3..c15e44b 100644 --- a/tests/definition.rs +++ b/tests/definition.rs @@ -49,12 +49,11 @@ fn definition() { // "should support line endings in titles" // ); - // To do: some bug - // assert_eq!( - // micromark("[foo]: /url 'title\n\nwith blank line'\n\n[foo]"), - // "

[foo]: /url 'title

\n

with blank line'

\n

[foo]

", - // "should not support blank lines in titles" - // ); + assert_eq!( + micromark("[foo]: /url 'title\n\nwith blank line'\n\n[foo]"), + "

[foo]: /url 'title

\n

with blank line'

\n

[foo]

", + "should not support blank lines in titles" + ); // To do: link (reference). // assert_eq!( -- cgit