aboutsummaryrefslogtreecommitdiff
path: root/refstore/reftable
diff options
context:
space:
mode:
Diffstat (limited to 'refstore/reftable')
-rw-r--r--refstore/reftable/reftable_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/refstore/reftable/reftable_test.go b/refstore/reftable/reftable_test.go
index 28201af2..d6345f14 100644
--- a/refstore/reftable/reftable_test.go
+++ b/refstore/reftable/reftable_test.go
@@ -17,7 +17,11 @@ import (
// newBareReftableRepo creates a bare repository that uses reftable ref storage.
func newBareReftableRepo(tb testing.TB, algo objectid.Algorithm) *testgit.TestRepo {
tb.Helper()
- return testgit.NewRepo(tb, algo, testgit.RepoOptions{Bare: true, RefFormat: "reftable"})
+ return testgit.NewRepo(tb, testgit.RepoOptions{
+ ObjectFormat: algo,
+ Bare: true,
+ RefFormat: "reftable",
+ })
}
// openStore opens a reftable store against repoDir/reftable.