diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-08-30 18:33:37 +0200 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-08-30 18:33:37 +0200 |
commit | 82945e31dd8bce5fc51d4fd16d696a6d326e5f44 (patch) | |
tree | 0ebee0c8101266230e60edc47a1f3696722173ee /storage/filesystem/storage_test.go | |
parent | 1e1a7d0623459807d6f1e871492147f971f7540c (diff) | |
download | go-git-82945e31dd8bce5fc51d4fd16d696a6d326e5f44.tar.gz |
git, storer: use a common storer.Options for storer and PlainOpen
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'storage/filesystem/storage_test.go')
-rw-r--r-- | storage/filesystem/storage_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/filesystem/storage_test.go b/storage/filesystem/storage_test.go index d7ebf71..23628c7 100644 --- a/storage/filesystem/storage_test.go +++ b/storage/filesystem/storage_test.go @@ -64,7 +64,9 @@ var _ = Suite(&StorageStaticSuite{}) func (s *StorageStaticSuite) SetUpTest(c *C) { s.dir = c.MkDir() - storage, err := NewStorageWithOptions(osfs.New(s.dir), StorageOptions{Static: true}) + storage, err := NewStorageWithOptions( + osfs.New(s.dir), + storer.Options{Static: true}) c.Assert(err, IsNil) setUpTest(&s.StorageSuite, c, storage) |