From d57f90b78eeb6b09b15e3fe57609ede66df4edac Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 12 Sep 2016 02:22:08 +0200 Subject: fixtures: new fixture package being use in all packages --- formats/idxfile/decoder_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'formats/idxfile/decoder_test.go') 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() -- cgit