diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-30 22:03:19 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-30 22:03:19 +0100 |
commit | 80179adaab815eaf75099a5ff31e48c6bd07d1dc (patch) | |
tree | 8973e44f42a5dc71054a4a45997a29103530ae17 /storage/filesystem/config_test.go | |
parent | e80d7b7267ba9f2057f259be331c4de927a60ecb (diff) | |
download | go-git-80179adaab815eaf75099a5ff31e48c6bd07d1dc.tar.gz |
rename billy imports
Diffstat (limited to 'storage/filesystem/config_test.go')
-rw-r--r-- | storage/filesystem/config_test.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go index 6fbf826..17ecec8 100644 --- a/storage/filesystem/config_test.go +++ b/storage/filesystem/config_test.go @@ -2,14 +2,13 @@ package filesystem import ( "io/ioutil" - stdos "os" + "os" "gopkg.in/src-d/go-git.v4/fixtures" "gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit" - "srcd.works/go-billy.v1/os" - . "gopkg.in/check.v1" + "srcd.works/go-billy.v1/osfs" ) type ConfigSuite struct { @@ -25,7 +24,7 @@ func (s *ConfigSuite) SetUpTest(c *C) { tmp, err := ioutil.TempDir("", "go-git-filestystem-config") c.Assert(err, IsNil) - s.dir = dotgit.New(os.New(tmp)) + s.dir = dotgit.New(osfs.New(tmp)) s.path = tmp } @@ -46,5 +45,5 @@ func (s *ConfigSuite) TestRemotes(c *C) { } func (s *ConfigSuite) TearDownTest(c *C) { - defer stdos.RemoveAll(s.path) + defer os.RemoveAll(s.path) } |