Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit a042efa

Browse files
authored
Merge pull request #808 from jfontan/fix/benchmark-fixtures
storage: dotgit, init fixtures in benchmark. Fixes #770
2 parents 0db54e8 + c3a1610 commit a042efa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/filesystem/internal/dotgit/dotgit_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func (s *SuiteDotGit) TestRefsFromReferenceFile(c *C) {
151151
}
152152

153153
func BenchmarkRefMultipleTimes(b *testing.B) {
154+
fixtures.Init()
154155
fs := fixtures.Basic().ByTag(".git").One().DotGit()
155156
refname := plumbing.ReferenceName("refs/remotes/origin/branch")
156157

0 commit comments

Comments
 (0)