shithub: furgit

Download patch

ref: ae8b0c08048a6a3b80e6625797fbb28319d3d694
parent: 1fedf54fa79d5bdf67971d89924653e3bac7179e
author: Runxi Yu <me@runxiyu.org>
date: Sat Feb 21 13:22:44 EST 2026

objectstore/packed: Use SplitSeq

--- a/objectstore/packed/read_test.go
+++ b/objectstore/packed/read_test.go
@@ -197,7 +197,7 @@
 	}
 
 	verifyOut := testRepo.Run(t, "verify-pack", "-v", idxFiles[0])
-	for _, line := range strings.Split(strings.TrimSpace(verifyOut), "\n") {
+	for line := range strings.SplitSeq(strings.TrimSpace(verifyOut), "\n") {
 		fields := strings.Fields(line)
 		if len(fields) < 7 {
 			continue
--