aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository_test.go')
-rw-r--r--repository_test.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/repository_test.go b/repository_test.go
index 8df8019..f13a755 100644
--- a/repository_test.go
+++ b/repository_test.go
@@ -15,7 +15,7 @@ import (
"testing"
"time"
- fixtures "gopkg.in/src-d/go-git-fixtures.v3"
+ fixtures "github.com/go-git/go-git-fixtures/v4"
"golang.org/x/crypto/openpgp"
"golang.org/x/crypto/openpgp/armor"
@@ -2844,10 +2844,6 @@ func (s *RepositorySuite) TestBrokenMultipleShallowFetch(c *C) {
}
func BenchmarkObjects(b *testing.B) {
- if err := fixtures.Init(); err != nil {
- b.Fatal(err)
- }
-
defer func() {
if err := fixtures.Clean(); err != nil {
b.Fatal(err)
@@ -2855,7 +2851,7 @@ func BenchmarkObjects(b *testing.B) {
}()
for _, f := range fixtures.ByTag("packfile") {
- if f.DotGitHash == plumbing.ZeroHash {
+ if f.DotGitHash == "" {
continue
}