aboutsummaryrefslogtreecommitdiff
path: root/object/blob_parse_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/blob_parse_test.go')
-rw-r--r--object/blob_parse_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object/blob_parse_test.go b/object/blob_parse_test.go
index ea0a279e..0b8c22ca 100644
--- a/object/blob_parse_test.go
+++ b/object/blob_parse_test.go
@@ -11,7 +11,7 @@ import (
func TestBlobParseFromGit(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")
blobID := testRepo.HashObject(t, "blob", body)