aboutsummaryrefslogtreecommitdiff
path: root/object
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-12 15:47:34 +0000
committerGravatar Runxi Yu2026-06-12 15:47:34 +0000
commit763bb73a3fb2a537531d114256b49706b0d38d0f (patch)
tree212bbeac7676003354109d72d942a44d72a86b28 /object
parentinternal/testgit: Enrich PackObjects (diff)
internal/format/pack{idx,rev}, object/store/packed: Update PackObjects invocation
Diffstat (limited to 'object')
-rw-r--r--object/store/packed/helpers_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/object/store/packed/helpers_test.go b/object/store/packed/helpers_test.go
index 08e07399..9cd95ab8 100644
--- a/object/store/packed/helpers_test.go
+++ b/object/store/packed/helpers_test.go
@@ -3,7 +3,6 @@ package packed_test
import (
"os"
"path/filepath"
- "slices"
"strings"
"testing"
@@ -29,7 +28,7 @@ func makeGitPack(t *testing.T, objectFormat id.ObjectFormat) (*testgit.Repo, str
t.Fatalf("SeedHistory: %v", err)
}
- prefix, err := repo.PackObjects(t, slices.Values(seeded.All()), testgit.PackObjectsOptions{})
+ prefix, err := repo.PackObjects(t, seeded.All(), testgit.PackObjectsOptions{})
if err != nil {
t.Fatalf("PackObjects: %v", err)
}