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/heading_atx.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/heading_atx.rs') diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs index 7a830fe..defc77f 100644 --- a/tests/heading_atx.rs +++ b/tests/heading_atx.rs @@ -99,12 +99,11 @@ fn heading_atx() { "should not support four initial spaces" ); - // To do: strip whitespace. - // assert_eq!( - // micromark("foo\n # bar"), - // "

foo\n# bar

", - // "should not support four initial spaces when interrupting" - // ); + assert_eq!( + micromark("foo\n # bar"), + "

foo\n# bar

", + "should not support four initial spaces when interrupting" + ); assert_eq!( micromark("## foo ##"), -- cgit