From c51784f08024e9dc3dc940a2a6b0db171f56aaa7 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 15 Jul 2022 11:48:20 +0200 Subject: Fix annoying bug around virtual spaces in containers --- tests/list.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/list.rs b/tests/list.rs index 0360ee7..2ef349b 100644 --- a/tests/list.rs +++ b/tests/list.rs @@ -528,12 +528,11 @@ fn list() { "should remove indent of code (fenced) in list (4 spaces)" ); - // To do: list (something ugly with tabs and counts and skips?). - // assert_eq!( - // micromark("- ```\n\t\n ```"), - // "", - // "should remove indent of code (fenced) in list (1 tab)" - // ); + assert_eq!( + micromark("- ```\n\t\n ```"), + "", + "should remove indent of code (fenced) in list (1 tab)" + ); assert_eq!( micromark("- +\n-"), -- cgit