diff --git a/integration/sync_test.go b/integration/sync_test.go index b17009be..981ef669 100644 --- a/integration/sync_test.go +++ b/integration/sync_test.go @@ -381,7 +381,7 @@ quay.io: // get the number of tags re := regexp.MustCompile(`^ +- +[^:/ ]+`) var nTags int - for _, l := range strings.Split(yamlConfig, "\n") { + for l := range strings.SplitSeq(yamlConfig, "\n") { if re.MatchString(l) { nTags++ }