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/packfile/scanner_test.go | |
parent | 58fe211f1b0e4863b425542d2fad15803276fd66 (diff) | |
download | go-git-d57f90b78eeb6b09b15e3fe57609ede66df4edac.tar.gz |
fixtures: new fixture package being use in all packages
Diffstat (limited to 'formats/packfile/scanner_test.go')
-rw-r--r-- | formats/packfile/scanner_test.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/formats/packfile/scanner_test.go b/formats/packfile/scanner_test.go index 6161fdb..d9fe13c 100644 --- a/formats/packfile/scanner_test.go +++ b/formats/packfile/scanner_test.go @@ -8,14 +8,12 @@ import ( "gopkg.in/src-d/go-git.v4/fixtures" ) -type ScannerSuite struct{} +type ScannerSuite struct { + fixtures.Suite +} var _ = Suite(&ScannerSuite{}) -func (s *ScannerSuite) SetUpSuite(c *C) { - fixtures.RootFolder = "../../fixtures" -} - func (s *ScannerSuite) TestHeader(c *C) { r := fixtures.Basic().One().Packfile() p := NewScanner(r) |