aboutsummaryrefslogtreecommitdiff
path: root/object/blob_serialize_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/blob_serialize_test.go')
-rw-r--r--object/blob_serialize_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object/blob_serialize_test.go b/object/blob_serialize_test.go
index 4853d980..041851ec 100644
--- a/object/blob_serialize_test.go
+++ b/object/blob_serialize_test.go
@@ -10,7 +10,7 @@ import (
func TestBlobSerialize(t *testing.T) {
testgit.ForEachAlgorithm(t, func(t *testing.T, algo objectid.Algorithm) {
- testRepo := testgit.NewBareRepo(t, algo)
+ testRepo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: true})
body := []byte("hello\nblob\n")
wantID := testRepo.HashObject(t, "blob", body)