diff options
Diffstat (limited to 'formats/idxfile/decoder_test.go')
-rw-r--r-- | formats/idxfile/decoder_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/formats/idxfile/decoder_test.go b/formats/idxfile/decoder_test.go index cd90465..8ce2bc7 100644 --- a/formats/idxfile/decoder_test.go +++ b/formats/idxfile/decoder_test.go @@ -13,7 +13,9 @@ import ( func Test(t *testing.T) { TestingT(t) } -type IdxfileSuite struct{} +type IdxfileSuite struct { + fixtures.Suite +} var _ = Suite(&IdxfileSuite{}) @@ -35,7 +37,7 @@ func (s *IdxfileSuite) TestDecode(c *C) { } func (s *IdxfileSuite) TestDecodeCRCs(c *C) { - f := fixtures.Basic().ByTag("ofs-delta") + f := fixtures.Basic().ByTag("ofs-delta").One() scanner := packfile.NewScanner(f.Packfile()) storage := memory.NewStorage() |