diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-31 01:14:03 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-31 01:14:03 +0100 |
commit | c6349552c1c54ea114b92ae23fc840f68f6551f4 (patch) | |
tree | 6fbaf514ae9caf8241a0b9dfc3709d60942876c5 /objects_test.go | |
parent | fe1fc1aa7dca3e0f6e54ab17f0acfa45f269e58c (diff) | |
download | go-git-c6349552c1c54ea114b92ae23fc840f68f6551f4.tar.gz |
internal -> core
Diffstat (limited to 'objects_test.go')
-rw-r--r-- | objects_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/objects_test.go b/objects_test.go index 8c2959f..d2bd7db 100644 --- a/objects_test.go +++ b/objects_test.go @@ -5,7 +5,7 @@ import ( "time" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v2/internal" + "gopkg.in/src-d/go-git.v2/core" ) type ObjectsSuite struct { @@ -24,7 +24,7 @@ func (s *ObjectsSuite) SetUpTest(c *C) { } func (s *ObjectsSuite) TestNewCommit(c *C) { - hash := internal.NewHash("a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69") + hash := core.NewHash("a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69") commit, err := s.r.Commit(hash) c.Assert(err, IsNil) @@ -48,7 +48,7 @@ func (s *ObjectsSuite) TestNewCommit(c *C) { } func (s *ObjectsSuite) TestParseTree(c *C) { - hash := internal.NewHash("a8d315b2b1c615d43042c3a62402b8a54288cf5c") + hash := core.NewHash("a8d315b2b1c615d43042c3a62402b8a54288cf5c") tree, err := s.r.Tree(hash) c.Assert(err, IsNil) @@ -71,8 +71,8 @@ func (s *ObjectsSuite) TestParseTree(c *C) { } func (s *ObjectsSuite) TestBlobHash(c *C) { - o := &internal.RAWObject{} - o.SetType(internal.BlobObject) + o := &core.RAWObject{} + o.SetType(core.BlobObject) o.SetSize(3) o.Writer().Write([]byte{'F', 'O', 'O'}) |