From 0114569b17b8fe2858fa850a8eb5bf323adf6e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Thu, 13 Feb 2025 02:13:26 +0100 Subject: [PATCH] Use strings.SplitSeq MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač --- integration/sync_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ }