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

@@ -45,7 +45,7 @@ func TestPathMappingSend(t *testing.T) {
actual[f.expanded_local_path] = f.remote_path
}
e := make(map[string]string, len(actual))
for _, rec := range strings.Split(expected, " ") {
for rec := range strings.SplitSeq(expected, " ") {
k, v, _ := strings.Cut(rec, ":")
e[mp(k, false)] = mp(v, true)
}