diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-17 00:24:31 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-17 11:46:00 +0100 |
commit | a964e32d92c53a47ce7c46d589a18c62133b8c50 (patch) | |
tree | 4c094cd6afb95cb2832f866b9411276418435819 /objects_test.go | |
parent | 1ac00554c3b5f88d2ddc2e28e7cfcdcad9d9f4bb (diff) | |
download | go-git-a964e32d92c53a47ce7c46d589a18c62133b8c50.tar.gz |
storages: memory object
Diffstat (limited to 'objects_test.go')
-rw-r--r-- | objects_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/objects_test.go b/objects_test.go index bc83cb7..683ab15 100644 --- a/objects_test.go +++ b/objects_test.go @@ -6,6 +6,7 @@ import ( . "gopkg.in/check.v1" "gopkg.in/src-d/go-git.v2/core" + "gopkg.in/src-d/go-git.v2/storages/memory" ) type ObjectsSuite struct { @@ -71,7 +72,7 @@ func (s *ObjectsSuite) TestParseTree(c *C) { } func (s *ObjectsSuite) TestBlobHash(c *C) { - o := &core.RAWObject{} + o := &memory.Object{} o.SetType(core.BlobObject) o.SetSize(3) o.Writer().Write([]byte{'F', 'O', 'O'}) |