aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/change_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 /plumbing/object/change_test.go
parent2bdfd91f04068220a72feeade31defc09f2a601e (diff)
downloadgo-git-2637279338ca9736c22b5e15fca916121ae8d089.tar.gz
*: migration from go-git-fixtures/v4 and go-git/gcfg
Diffstat (limited to 'plumbing/object/change_test.go')
-rw-r--r--plumbing/object/change_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/plumbing/object/change_test.go b/plumbing/object/change_test.go
index 357cb67..2c1fe37 100644
--- a/plumbing/object/change_test.go
+++ b/plumbing/object/change_test.go
@@ -4,6 +4,7 @@ import (
"context"
"sort"
+ fixtures "github.com/go-git/go-git-fixtures/v4"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/cache"
"github.com/go-git/go-git/v5/plumbing/filemode"
@@ -13,7 +14,6 @@ import (
"github.com/go-git/go-git/v5/utils/merkletrie"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git-fixtures.v3"
)
type ChangeSuite struct {
@@ -23,7 +23,6 @@ type ChangeSuite struct {
}
func (s *ChangeSuite) SetUpSuite(c *C) {
- s.Suite.SetUpSuite(c)
s.Fixture = fixtures.ByURL("https://github.com/src-d/go-git.git").
ByTag(".git").One()
sto := filesystem.NewStorage(s.Fixture.DotGit(), cache.NewObjectLRUDefault())
@@ -250,7 +249,6 @@ func (s *ChangeSuite) TestEmptyChangeFails(c *C) {
// test reproducing bug #317
func (s *ChangeSuite) TestNoFileFilemodes(c *C) {
- s.Suite.SetUpSuite(c)
f := fixtures.ByURL("https://github.com/git-fixtures/submodule.git").One()
sto := filesystem.NewStorage(f.DotGit(), cache.NewObjectLRUDefault())