From 879fbf500d0aef45cf5811569a53510013440bcd Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 12 Jul 2022 17:53:05 +0200 Subject: Fix to prefer thematic breaks over lists --- tests/misc_tabs.rs | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'tests/misc_tabs.rs') diff --git a/tests/misc_tabs.rs b/tests/misc_tabs.rs index e7aad07..e82738d 100644 --- a/tests/misc_tabs.rs +++ b/tests/misc_tabs.rs @@ -123,19 +123,17 @@ fn tabs_flow() { "should support tabs in HTML (if whitespace is allowed)" ); - // To do: list (prefer thematic break). - // assert_eq!( - // micromark("*\t*\t*\t"), - // "
", - // "should support tabs in thematic breaks" - // ); - - // To do: list (prefer thematic break). - // assert_eq!( - // micromark("*\t\t*\t\t*\t\t"), - // "
", - // "should support arbitrary tabs in thematic breaks" - // ); + assert_eq!( + micromark("*\t*\t*\t"), + "
", + "should support tabs in thematic breaks" + ); + + assert_eq!( + micromark("*\t\t*\t\t*\t\t"), + "
", + "should support arbitrary tabs in thematic breaks" + ); } #[test] -- cgit