diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-15 00:30:59 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-15 00:30:59 +0200 |
| commit | 2f4e6dd8dfc7e18064e087c65ff9d28b4833cce2 (patch) | |
| tree | 7ebcbec83f0f6ee41d8541bfbcff18eba7af10fa /internal/norm/fuzz_test.go | |
| parent | 17e933a16ff7de1b06d62504e78c40e615c8b553 (diff) | |
| download | krino-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.go | 2 |
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) { |
