aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/storage_test.go
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-08-30 18:33:37 +0200
committerJavi Fontan <jfontan@gmail.com>2018-08-30 18:33:37 +0200
commit82945e31dd8bce5fc51d4fd16d696a6d326e5f44 (patch)
tree0ebee0c8101266230e60edc47a1f3696722173ee /storage/filesystem/storage_test.go
parent1e1a7d0623459807d6f1e871492147f971f7540c (diff)
downloadgo-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.go4
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)