diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-17 11:52:11 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-17 11:52:11 +0100 |
commit | 104be6870196d221a06291917c8660412a96cdbc (patch) | |
tree | 4c094cd6afb95cb2832f866b9411276418435819 /remote_test.go | |
parent | 1ac00554c3b5f88d2ddc2e28e7cfcdcad9d9f4bb (diff) | |
parent | a964e32d92c53a47ce7c46d589a18c62133b8c50 (diff) | |
download | go-git-104be6870196d221a06291917c8660412a96cdbc.tar.gz |
Merge pull request #28 from mcuadros/memory-object
storages: memory object
Diffstat (limited to 'remote_test.go')
-rw-r--r-- | remote_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote_test.go b/remote_test.go index 7a40deb..14c7ec1 100644 --- a/remote_test.go +++ b/remote_test.go @@ -2,8 +2,8 @@ package git import ( "gopkg.in/src-d/go-git.v2/clients/http" - "gopkg.in/src-d/go-git.v2/core" "gopkg.in/src-d/go-git.v2/formats/packfile" + "gopkg.in/src-d/go-git.v2/storages/memory" . "gopkg.in/check.v1" ) @@ -57,7 +57,7 @@ func (s *SuiteRemote) TestFetchDefaultBranch(c *C) { pr := packfile.NewReader(reader) - storage := core.NewRAWObjectStorage() + storage := memory.NewObjectStorage() _, err = pr.Read(storage) c.Assert(err, IsNil) c.Assert(storage.Objects, HasLen, 28) |