From b82af688be4d94245c4a7eb730b12348b08b414b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 31 Mar 2026 03:19:39 +0000 Subject: reachability: Use fetcher and clean up some legacy helper stuff --- reachability/integration_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'reachability/integration_test.go') diff --git a/reachability/integration_test.go b/reachability/integration_test.go index 4e4b3918..20d9e3f7 100644 --- a/reachability/integration_test.go +++ b/reachability/integration_test.go @@ -11,6 +11,7 @@ import ( giterrors "codeberg.org/lindenii/furgit/errors" "codeberg.org/lindenii/furgit/internal/testgit" + objectfetch "codeberg.org/lindenii/furgit/object/fetch" objectid "codeberg.org/lindenii/furgit/object/id" "codeberg.org/lindenii/furgit/reachability" ) @@ -249,7 +250,7 @@ func TestWalkOnPackedOnlyRepo(t *testing.T) { func openReachabilityFromTestRepo(t *testing.T, testRepo *testgit.TestRepo) *reachability.Reachability { t.Helper() - return reachability.New(testRepo.OpenObjectStore(t), nil) + return reachability.New(objectfetch.New(testRepo.OpenObjectStore(t)), nil) } func oidSetFromSeq(seq func(func(objectid.ObjectID) bool)) map[objectid.ObjectID]struct{} { -- cgit v1.3.1-10-gc9f91