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/thematic_break.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/thematic_break.rs') diff --git a/tests/thematic_break.rs b/tests/thematic_break.rs index 1e3fb1e..fa86835 100644 --- a/tests/thematic_break.rs +++ b/tests/thematic_break.rs @@ -63,12 +63,11 @@ fn thematic_break() { "should not support thematic breaks w/ 4 spaces" ); - // To do: trim initial whitespace. - // assert_eq!( - // micromark("Foo\n ***"), - // "

Foo\n***

", - // "should not support thematic breaks w/ 4 spaces as paragraph continuation" - // ); + assert_eq!( + micromark("Foo\n ***"), + "

Foo\n***

", + "should not support thematic breaks w/ 4 spaces as paragraph continuation" + ); assert_eq!( micromark("_____________________________________"), -- cgit