diff options
Diffstat (limited to 'storage')
-rw-r--r-- | storage/filesystem/config_test.go | 2 | ||||
-rw-r--r-- | storage/filesystem/internal/dotgit/dotgit_test.go | 4 | ||||
-rw-r--r-- | storage/filesystem/internal/dotgit/writers_test.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go index b52e6a1..2eb0ab9 100644 --- a/storage/filesystem/config_test.go +++ b/storage/filesystem/config_test.go @@ -25,7 +25,7 @@ func (s *ConfigSuite) SetUpTest(c *C) { tmp, err := ioutil.TempDir("", "go-git-filestystem-config") c.Assert(err, IsNil) - s.dir = dotgit.New(os.NewOS(tmp)) + s.dir = dotgit.New(os.New(tmp)) s.path = tmp } 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) diff --git a/storage/filesystem/internal/dotgit/writers_test.go b/storage/filesystem/internal/dotgit/writers_test.go index 2dff4e9..23d3a0e 100644 --- a/storage/filesystem/internal/dotgit/writers_test.go +++ b/storage/filesystem/internal/dotgit/writers_test.go @@ -24,7 +24,7 @@ func (s *SuiteDotGit) TestNewObjectPack(c *C) { defer os.RemoveAll(dir) - fs := osfs.NewOS(dir) + fs := osfs.New(dir) dot := New(fs) w, err := dot.NewObjectPack() |