diff options
Diffstat (limited to 'storage/filesystem/internal')
-rw-r--r-- | storage/filesystem/internal/dotgit/dotgit_test.go | 6 | ||||
-rw-r--r-- | storage/filesystem/internal/dotgit/writers_test.go | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/storage/filesystem/internal/dotgit/dotgit_test.go b/storage/filesystem/internal/dotgit/dotgit_test.go index ebd8596..9e46639 100644 --- a/storage/filesystem/internal/dotgit/dotgit_test.go +++ b/storage/filesystem/internal/dotgit/dotgit_test.go @@ -9,7 +9,7 @@ import ( "gopkg.in/src-d/go-git.v4/core" "gopkg.in/src-d/go-git.v4/fixtures" - "gopkg.in/src-d/go-git.v4/utils/fs" + osfs "gopkg.in/src-d/go-git.v4/utils/fs/os" . "gopkg.in/check.v1" ) @@ -27,7 +27,7 @@ func (s *SuiteDotGit) TestSetRefs(c *C) { c.Assert(err, IsNil) defer os.RemoveAll(tmp) - fs := fs.NewOS(tmp) + fs := osfs.NewOS(tmp) dir := New(fs) err = dir.SetRef(core.NewReferenceFromStrings( @@ -164,7 +164,7 @@ func (s *SuiteDotGit) TestNewObject(c *C) { c.Assert(err, IsNil) defer os.RemoveAll(tmp) - fs := fs.NewOS(tmp) + fs := osfs.NewOS(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 ebecbb4..2dff4e9 100644 --- a/storage/filesystem/internal/dotgit/writers_test.go +++ b/storage/filesystem/internal/dotgit/writers_test.go @@ -9,7 +9,7 @@ import ( "strconv" "gopkg.in/src-d/go-git.v4/fixtures" - "gopkg.in/src-d/go-git.v4/utils/fs" + osfs "gopkg.in/src-d/go-git.v4/utils/fs/os" . "gopkg.in/check.v1" ) @@ -24,7 +24,7 @@ func (s *SuiteDotGit) TestNewObjectPack(c *C) { defer os.RemoveAll(dir) - fs := fs.NewOS(dir) + fs := osfs.NewOS(dir) dot := New(fs) w, err := dot.NewObjectPack() |