aboutsummaryrefslogtreecommitdiff
path: root/internal/norm/fuzz_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-09-15 00:30:59 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-09-15 00:30:59 +0200
commit2f4e6dd8dfc7e18064e087c65ff9d28b4833cce2 (patch)
tree7ebcbec83f0f6ee41d8541bfbcff18eba7af10fa /internal/norm/fuzz_test.go
parent17e933a16ff7de1b06d62504e78c40e615c8b553 (diff)
downloadkrino-2f4e6dd8dfc7e18064e087c65ff9d28b4833cce2.tar.gz
krino-2f4e6dd8dfc7e18064e087c65ff9d28b4833cce2.zip
captures keep the combining marks of a decomposed name; test sources escape invisible characters
Diffstat (limited to 'internal/norm/fuzz_test.go')
-rw-r--r--internal/norm/fuzz_test.go2
1 files changed, 1 insertions, 1 deletions
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) {