aboutsummaryrefslogtreecommitdiffstats
path: root/formats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-10-26 18:22:33 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-10-26 18:22:33 +0200
commit194da90f885d4cb7cf2bf4c84a74e5d559000764 (patch)
treec6ef859c2fb88e0e484b636809924dbacd0d9aa7 /formats
parent73fa9ef25a8af9c8337a4cf34a67cfe208f1a7c5 (diff)
downloadgo-git-194da90f885d4cb7cf2bf4c84a74e5d559000764.tar.gz
fix fixtures usage
Diffstat (limited to 'formats')
-rw-r--r--formats/packfile/decoder_test.go4
1 files changed, 2 insertions, 2 deletions
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)