aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-11-04 12:29:00 +0100
committerGitHub <noreply@github.com>2016-11-04 12:29:00 +0100
commit3a85c05bcf82ac4a6d48165bd644d81622fae80a (patch)
tree05f3d41ca6aa6d170dd61298f1d2fd047412ca78 /remote_test.go
parent3f7fbc6c49e50eb22e3de8a5143817fa7c0c54dd (diff)
downloadgo-git-3a85c05bcf82ac4a6d48165bd644d81622fae80a.tar.gz
utils: fs, new memory filesystem (#108)
* utils: fs, new memory filesystem * utils: fs, renamed os.NewOS to os.New * utils: fs, memory changes requested by @alcortes
Diffstat (limited to 'remote_test.go')
-rw-r--r--remote_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote_test.go b/remote_test.go
index 7aaaac7..37539af 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -101,7 +101,7 @@ func (s *RemoteSuite) TestFetchObjectStorageWriter(c *C) {
defer os.RemoveAll(dir) // clean up
var sto Storage
- sto, err = filesystem.NewStorage(osfs.NewOS(dir))
+ sto, err = filesystem.NewStorage(osfs.New(dir))
c.Assert(err, IsNil)
r := newRemote(sto, &config.RemoteConfig{Name: "foo", URL: RepositoryFixture})