diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2018-04-16 14:02:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 14:02:28 +0200 |
commit | a042efacfd3a278a9423008948022728555dcee1 (patch) | |
tree | 8b75506d0b61f09d31b959f392740d489325a27c | |
parent | 0db54e829f81a28f71c22d54c03daba5ec144c8d (diff) | |
parent | c3a16106607896973b01aade084706aaf074bce4 (diff) | |
download | go-git-a042efacfd3a278a9423008948022728555dcee1.tar.gz |
Merge pull request #808 from jfontan/fix/benchmark-fixtures
storage: dotgit, init fixtures in benchmark. Fixes #770
-rw-r--r-- | storage/filesystem/internal/dotgit/dotgit_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go index 2c43295..02cd9ec 100644 --- a/storage/filesystem/internal/dotgit/dotgit_test.go +++ b/storage/filesystem/internal/dotgit/dotgit_test.go @@ -151,6 +151,7 @@ func (s *SuiteDotGit) TestRefsFromReferenceFile(c *C) { } func BenchmarkRefMultipleTimes(b *testing.B) { + fixtures.Init() fs := fixtures.Basic().ByTag(".git").One().DotGit() refname := plumbing.ReferenceName("refs/remotes/origin/branch") |