diff options
Diffstat (limited to 'object/commit_parse_test.go')
| -rw-r--r-- | object/commit_parse_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object/commit_parse_test.go b/object/commit_parse_test.go index 66061f73..77a570af 100644 --- a/object/commit_parse_test.go +++ b/object/commit_parse_test.go @@ -11,7 +11,7 @@ import ( func TestCommitParseFromGit(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}) _, treeID, commitID := testRepo.MakeCommit(t, "subject\n\nbody") rawBody := testRepo.CatFile(t, "commit", commitID) |
