aboutsummaryrefslogtreecommitdiff
path: root/object/commit_serialize_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/commit_serialize_test.go')
-rw-r--r--object/commit_serialize_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object/commit_serialize_test.go b/object/commit_serialize_test.go
index 9067d511..6db48143 100644
--- a/object/commit_serialize_test.go
+++ b/object/commit_serialize_test.go
@@ -10,7 +10,7 @@ import (
func TestCommitSerialize(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})
_, _, commitID := testRepo.MakeCommit(t, "subject\n\nbody")
rawBody := testRepo.CatFile(t, "commit", commitID)