From c1050b3527cc2d94ba1d8575e40fcc7700d3dcc3 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 18 Jul 2022 10:58:40 +0200 Subject: Fix edge case in identifier normalization --- tests/commonmark.rs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'tests') diff --git a/tests/commonmark.rs b/tests/commonmark.rs index 503acca..b75c940 100644 --- a/tests/commonmark.rs +++ b/tests/commonmark.rs @@ -6130,16 +6130,15 @@ bar>)

r###"Links (537)"### ); - // To do: Some unicode normalization bug. - // assert_eq!( - // micromark_with_options(r###"[ẞ] - - // [SS]: /url - // "###, DANGER), - // r###"

- // "###, - // r###"Links (538)"### - // ); + assert_eq!( + micromark_with_options(r###"[ẞ] + +[SS]: /url +"###, DANGER), + r###"

+"###, + r###"Links (538)"### +); assert_eq!( micromark_with_options(r###"[Foo -- cgit