diff options
| author | 2026-06-07 12:12:39 +0000 | |
|---|---|---|
| committer | 2026-06-07 12:17:59 +0000 | |
| commit | 58698a0e70c61c7447ec9a7b938fc63a94151db1 (patch) | |
| tree | 808873c6e9ea3a38bcd054ac34eca09bec34703f /internal/testgit | |
| parent | object/tree: Reject duplicates (diff) | |
| signature | No signature | |
object/tree: Add tests
Diffstat (limited to 'internal/testgit')
| -rw-r--r-- | internal/testgit/tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testgit/tree.go b/internal/testgit/tree.go index cf6ab1bf..501c7949 100644 --- a/internal/testgit/tree.go +++ b/internal/testgit/tree.go @@ -52,7 +52,7 @@ func (repo *Repo) LsTree(tb testing.TB, oid id.ObjectID) ([]TreeEntry, error) { var entries []TreeEntry - for _, record := range bytes.Split(stdout, []byte{0}) { + for record := range bytes.SplitSeq(stdout, []byte{0}) { if len(record) == 0 { continue } |
