From 2f4e6dd8dfc7e18064e087c65ff9d28b4833cce2 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 15 Sep 2026 00:30:59 +0200 Subject: captures keep the combining marks of a decomposed name; test sources escape invisible characters --- internal/norm/fuzz_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/norm/fuzz_test.go') diff --git a/internal/norm/fuzz_test.go b/internal/norm/fuzz_test.go index 27deadc..2dc864e 100644 --- a/internal/norm/fuzz_test.go +++ b/internal/norm/fuzz_test.go @@ -36,7 +36,7 @@ func FuzzTextIdempotent(f *testing.F) { // FuzzFoldMapped: FoldMapped's text is always Fold's, and any part of it // leads back to original text that folds to something holding that part. func FuzzFoldMapped(f *testing.F) { - for _, s := range []string{"Łódź-faktura.pdf", "straße", "áb", "\xff\xfeé", "́a", "Æsir"} { + for _, s := range []string{"Łódź-faktura.pdf", "straße", "a\u0301b", "\xff\xfeé", "\u0301a", "Æsir"} { f.Add(s, 0, 2) } f.Fuzz(func(t *testing.T, s string, a, b int) { -- cgit v1.3