From cba78821ed13d5a92c74d092914fbad4c842f889 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 9 Jun 2022 14:03:04 +0200 Subject: Add temporary support for stripping whitespace --- tests/code_indented.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/code_indented.rs') diff --git a/tests/code_indented.rs b/tests/code_indented.rs index 80dae4b..5967cb3 100644 --- a/tests/code_indented.rs +++ b/tests/code_indented.rs @@ -40,12 +40,11 @@ fn code_indented() { "should support blank lines in indented code (3)" ); - // To do: strip whitespace. - // assert_eq!( - // micromark("Foo\n bar"), - // "

Foo\nbar

", - // "should not support interrupting paragraphs" - // ); + assert_eq!( + micromark("Foo\n bar"), + "

Foo\nbar

", + "should not support interrupting paragraphs" + ); assert_eq!( micromark(" foo\nbar"), -- cgit