aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-11-04 12:40:22 +0100
committerGitHub <noreply@github.com>2016-11-04 12:40:22 +0100
commitb7c1ec5257fe2660db4bdf1e37ad09f1a74cf347 (patch)
tree3100c760203622182976deb7a72648cb9280f996
parent3a85c05bcf82ac4a6d48165bd644d81622fae80a (diff)
downloadgo-git-b7c1ec5257fe2660db4bdf1e37ad09f1a74cf347.tar.gz
storage: filesystem fix tests
-rw-r--r--storage/filesystem/storage_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/storage_test.go b/storage/filesystem/storage_test.go
index 7d66205..f55452d 100644
--- a/storage/filesystem/storage_test.go
+++ b/storage/filesystem/storage_test.go
@@ -19,7 +19,7 @@ var _ = Suite(&StorageSuite{})
func (s *StorageSuite) SetUpTest(c *C) {
path := c.MkDir()
- storage, err := NewStorage(os.NewOS(path))
+ storage, err := NewStorage(os.New(path))
c.Assert(err, IsNil)
s.BaseStorageSuite = test.NewBaseStorageSuite(
storage.ObjectStorage(),