diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-12 02:22:08 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-12 02:22:08 +0200 |
commit | d57f90b78eeb6b09b15e3fe57609ede66df4edac (patch) | |
tree | 961aa929391c0e804f32d26016f9e385f6e70ecb /formats/idxfile/decoder_test.go | |
parent | 58fe211f1b0e4863b425542d2fad15803276fd66 (diff) | |
download | go-git-d57f90b78eeb6b09b15e3fe57609ede66df4edac.tar.gz |
fixtures: new fixture package being use in all packages
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() |