diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-12 17:53:05 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-12 17:53:05 +0200 |
commit | 879fbf500d0aef45cf5811569a53510013440bcd (patch) | |
tree | 0e8c0183fa8b6b0060bef780eabc773ab30ee870 /tests/misc_tabs.rs | |
parent | 2e3b7abaa9877b658fa4f8f2612acc617dff60bb (diff) | |
download | markdown-rs-879fbf500d0aef45cf5811569a53510013440bcd.tar.gz markdown-rs-879fbf500d0aef45cf5811569a53510013440bcd.tar.bz2 markdown-rs-879fbf500d0aef45cf5811569a53510013440bcd.zip |
Fix to prefer thematic breaks over lists
Diffstat (limited to 'tests/misc_tabs.rs')
-rw-r--r-- | tests/misc_tabs.rs | 24 |
1 files changed, 11 insertions, 13 deletions
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"), - // "<hr />", - // "should support tabs in thematic breaks" - // ); - - // To do: list (prefer thematic break). - // assert_eq!( - // micromark("*\t\t*\t\t*\t\t"), - // "<hr />", - // "should support arbitrary tabs in thematic breaks" - // ); + assert_eq!( + micromark("*\t*\t*\t"), + "<hr />", + "should support tabs in thematic breaks" + ); + + assert_eq!( + micromark("*\t\t*\t\t*\t\t"), + "<hr />", + "should support arbitrary tabs in thematic breaks" + ); } #[test] |