diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-04 12:29:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-04 12:29:00 +0100 |
commit | 3a85c05bcf82ac4a6d48165bd644d81622fae80a (patch) | |
tree | 05f3d41ca6aa6d170dd61298f1d2fd047412ca78 /storage/filesystem/internal/dotgit/dotgit_test.go | |
parent | 3f7fbc6c49e50eb22e3de8a5143817fa7c0c54dd (diff) | |
download | go-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 'storage/filesystem/internal/dotgit/dotgit_test.go')
-rw-r--r-- | storage/filesystem/internal/dotgit/dotgit_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go index a4cce09..a5d25e3 100644 --- a/storage/filesystem/internal/dotgit/dotgit_test.go +++ b/storage/filesystem/internal/dotgit/dotgit_test.go @@ -27,7 +27,7 @@ func (s *SuiteDotGit) TestSetRefs(c *C) { c.Assert(err, IsNil) defer os.RemoveAll(tmp) - fs := osfs.NewOS(tmp) + fs := osfs.New(tmp) dir := New(fs) err = dir.SetRef(core.NewReferenceFromStrings( @@ -189,7 +189,7 @@ func (s *SuiteDotGit) TestNewObject(c *C) { c.Assert(err, IsNil) defer os.RemoveAll(tmp) - fs := osfs.NewOS(tmp) + fs := osfs.New(tmp) dir := New(fs) w, err := dir.NewObject() c.Assert(err, IsNil) |