storage/memory/storage_test.go
raw| 1 | package memory |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | "github.com/go-git/go-git/v5/storage/test" |
| 7 | . "gopkg.in/check.v1" |
| 8 | ) |
| 9 | |
| 10 | func Test(t *testing.T) { TestingT(t) } |
| 11 | |
| 12 | type StorageSuite struct { |
| 13 | test.BaseStorageSuite |
| 14 | } |
| 15 | |
| 16 | var _ = Suite(&StorageSuite{}) |
| 17 | |
| 18 | func (s *StorageSuite) SetUpTest(c *C) { |
| 19 | s.BaseStorageSuite = test.NewBaseStorageSuite(NewStorage()) |
| 20 | } |