mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 00:38:10 +02:00
run modernize
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user