aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common_test.go2
-rw-r--r--formats/packfile/decoder_test.go4
-rw-r--r--references_test.go2
-rw-r--r--storage/filesystem/object_test.go2
4 files changed, 5 insertions, 5 deletions
diff --git a/common_test.go b/common_test.go
index 4c1fb9a..7a3310f 100644
--- a/common_test.go
+++ b/common_test.go
@@ -32,7 +32,7 @@ func (s *BaseSuite) SetUpSuite(c *C) {
s.buildRepository(c)
s.Repositories = make(map[string]*Repository, 0)
- s.buildRepositories(c, fixtures.Basic())
+ s.buildRepositories(c, fixtures.Basic().ByTag("packfile"))
}
func (s *BaseSuite) installMockProtocol(c *C) {
diff --git a/formats/packfile/decoder_test.go b/formats/packfile/decoder_test.go
index 81ed2f6..48790b4 100644
--- a/formats/packfile/decoder_test.go
+++ b/formats/packfile/decoder_test.go
@@ -29,7 +29,7 @@ func (s *ReaderSuite) TestNewDecodeNonSeekable(c *C) {
}
func (s *ReaderSuite) TestDecode(c *C) {
- fixtures.Basic().Test(c, func(f *fixtures.Fixture) {
+ fixtures.Basic().ByTag("packfile").Test(c, func(f *fixtures.Fixture) {
scanner := NewScanner(f.Packfile())
storage := memory.NewStorage()
@@ -46,7 +46,7 @@ func (s *ReaderSuite) TestDecode(c *C) {
}
func (s *ReaderSuite) TestDecodeInMemory(c *C) {
- fixtures.Basic().Test(c, func(f *fixtures.Fixture) {
+ fixtures.Basic().ByTag("packfile").Test(c, func(f *fixtures.Fixture) {
scanner := NewScanner(f.Packfile())
d, err := NewDecoder(scanner, nil)
c.Assert(err, IsNil)
diff --git a/references_test.go b/references_test.go
index 65eb56d..112fe3a 100644
--- a/references_test.go
+++ b/references_test.go
@@ -288,7 +288,7 @@ var referencesTests = [...]struct {
func (s *ReferencesSuite) SetUpSuite(c *C) {
s.BaseSuite.SetUpSuite(c)
- s.buildRepositories(c, fixtures.All())
+ s.buildRepositories(c, fixtures.All().ByTag("packfile"))
}
func (s *ReferencesSuite) TestRevList(c *C) {
diff --git a/storage/filesystem/object_test.go b/storage/filesystem/object_test.go
index b1546d5..0136e54 100644
--- a/storage/filesystem/object_test.go
+++ b/storage/filesystem/object_test.go
@@ -55,7 +55,7 @@ func (s *FsSuite) TestGetFromPackfileMultiplePackfiles(c *C) {
}
func (s *FsSuite) TestIter(c *C) {
- fixtures.ByTag(".git").Test(c, func(f *fixtures.Fixture) {
+ fixtures.ByTag(".git").ByTag("packfile").Test(c, func(f *fixtures.Fixture) {
fs := f.DotGit()
o, err := newObjectStorage(dotgit.New(fs))
c.Assert(err, IsNil)