aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-03-10 01:41:19 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2020-03-10 01:41:19 +0100
commit2637279338ca9736c22b5e15fca916121ae8d089 (patch)
tree2273e55f2d2b68b9b6335924d6b00ddf3417e8e7 /repository_test.go
parent2bdfd91f04068220a72feeade31defc09f2a601e (diff)
downloadgo-git-2637279338ca9736c22b5e15fca916121ae8d089.tar.gz
*: migration from go-git-fixtures/v4 and go-git/gcfg
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
}