diff options
| author | 2026-03-30 18:18:06 +0000 | |
|---|---|---|
| committer | 2026-03-30 18:18:06 +0000 | |
| commit | 3ba67c27db0cf52b120e4f15c09047aa96d3bcb4 (patch) | |
| tree | cbd94566f5c9d2732f8527e88815e3b63413a694 /object/store/dual/dual_test.go | |
| parent | object/store/dual: Dual shouldn't satisfy {Object,Pack}Quarantiner at all (diff) | |
| signature | No signature | |
object/store: Unify writers and fix naming v0.1.160
Diffstat (limited to 'object/store/dual/dual_test.go')
| -rw-r--r-- | object/store/dual/dual_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/object/store/dual/dual_test.go b/object/store/dual/dual_test.go index d9401c30..9e102734 100644 --- a/object/store/dual/dual_test.go +++ b/object/store/dual/dual_test.go @@ -117,9 +117,9 @@ func TestDualReadsWritesAndQuarantine(t *testing.T) { repo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: true}) store := newDualStore(t, repo, algo) - quarantiner, ok := any(store).(objectstore.WriterQuarantiner) + quarantiner, ok := any(store).(objectstore.Quarantiner) if !ok { - t.Fatal("dual does not implement WriterQuarantiner") + t.Fatal("dual does not implement Quarantiner") } quarantine, err := quarantiner.BeginQuarantine(objectstore.QuarantineOptions{}) @@ -219,7 +219,7 @@ func TestDualQuarantineDiscardDropsBothHalves(t *testing.T) { repo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: true}) store := newDualStore(t, repo, algo) - quarantiner := any(store).(objectstore.WriterQuarantiner) + quarantiner := any(store).(objectstore.Quarantiner) quarantine, err := quarantiner.BeginQuarantine(objectstore.QuarantineOptions{}) if err != nil { t.Fatalf("BeginQuarantine: %v", err) |
