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 /storage/filesystem/object_test.go | |
parent | 58fe211f1b0e4863b425542d2fad15803276fd66 (diff) | |
download | go-git-d57f90b78eeb6b09b15e3fe57609ede66df4edac.tar.gz |
fixtures: new fixture package being use in all packages
Diffstat (limited to 'storage/filesystem/object_test.go')
-rw-r--r-- | storage/filesystem/object_test.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/storage/filesystem/object_test.go b/storage/filesystem/object_test.go index 07fa646..b1546d5 100644 --- a/storage/filesystem/object_test.go +++ b/storage/filesystem/object_test.go @@ -8,14 +8,12 @@ import ( . "gopkg.in/check.v1" ) -type FsSuite struct{} +type FsSuite struct { + fixtures.Suite +} var _ = Suite(&FsSuite{}) -func (s *FsSuite) SetUpSuite(c *C) { - fixtures.RootFolder = "../../fixtures" -} - func (s *FsSuite) TestGetFromObjectFile(c *C) { fs := fixtures.ByTag(".git").ByTag("unpacked").One().DotGit() o, err := newObjectStorage(dotgit.New(fs)) |