run modernize

This commit is contained in:
Kovid Goyal
2025-11-11 17:09:37 +05:30
parent 1faf786bd2
commit 6f588a0c29
30 changed files with 46 additions and 60 deletions

View File

@@ -18,11 +18,11 @@ func TestFTCSerialization(t *testing.T) {
q := func(expected string) {
actual := ftc.Serialize()
ad := make(map[string]bool)
for _, x := range strings.Split(actual, ";") {
for x := range strings.SplitSeq(actual, ";") {
ad[x] = true
}
ed := make(map[string]bool)
for _, x := range strings.Split(expected, ";") {
for x := range strings.SplitSeq(expected, ";") {
ed[x] = true
}
if diff := cmp.Diff(ed, ad); diff != "" {