diff options
| author | 2026-03-31 03:19:39 +0000 | |
|---|---|---|
| committer | 2026-03-31 03:20:13 +0000 | |
| commit | b82af688be4d94245c4a7eb730b12348b08b414b (patch) | |
| tree | bcd7d9cdb87a5ee2644aafe64429def860f500fe /reachability/integration_test.go | |
| parent | commitquery: Error handling cleanup after the fetcher port (diff) | |
| signature | No signature | |
reachability: Use fetcher and clean up some legacy helper stuff
Diffstat (limited to 'reachability/integration_test.go')
| -rw-r--r-- | reachability/integration_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
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{} { |
