aboutsummaryrefslogtreecommitdiffstats
path: root/common_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-01-30 22:03:19 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-01-30 22:03:19 +0100
commit80179adaab815eaf75099a5ff31e48c6bd07d1dc (patch)
tree8973e44f42a5dc71054a4a45997a29103530ae17 /common_test.go
parente80d7b7267ba9f2057f259be331c4de927a60ecb (diff)
downloadgo-git-80179adaab815eaf75099a5ff31e48c6bd07d1dc.tar.gz
rename billy imports
Diffstat (limited to 'common_test.go')
-rw-r--r--common_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/common_test.go b/common_test.go
index 9c20a9a..c874c38 100644
--- a/common_test.go
+++ b/common_test.go
@@ -14,8 +14,8 @@ import (
"gopkg.in/src-d/go-git.v4/storage/memory"
. "gopkg.in/check.v1"
- memoryfs "srcd.works/go-billy.v1/memory"
- "srcd.works/go-billy.v1/os"
+ "srcd.works/go-billy.v1/memfs"
+ "srcd.works/go-billy.v1/osfs"
)
func Test(t *testing.T) { TestingT(t) }
@@ -49,7 +49,7 @@ func (s *BaseSuite) buildBasicRepository(c *C) {
}
func (s *BaseSuite) NewRepository(f *fixtures.Fixture) *Repository {
- fs := os.New(f.DotGit().Base())
+ fs := osfs.New(f.DotGit().Base())
st, err := filesystem.NewStorage(fs)
if err != nil {
panic(err)
@@ -86,7 +86,7 @@ func (s *BaseSuite) NewRepositoryFromPackfile(f *fixtures.Fixture) *Repository {
storer.SetReference(plumbing.NewHashReference(plumbing.HEAD, f.Head))
- r, err := Open(storer, memoryfs.New())
+ r, err := Open(storer, memfs.New())
if err != nil {
panic(err)
}