aboutsummaryrefslogtreecommitdiffstats
path: root/objects_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-11-08 23:46:38 +0100
committerGitHub <noreply@github.com>2016-11-08 23:46:38 +0100
commitac095bb12c4d29722b60ba9f20590fa7cfa6bc7d (patch)
tree223f36f336ba3414b1e45cac8af6c4744a5d7ef6 /objects_test.go
parente523701393598f4fa241dd407af9ff8925507a1a (diff)
downloadgo-git-ac095bb12c4d29722b60ba9f20590fa7cfa6bc7d.tar.gz
new plumbing package (#118)
* plumbing: now core was renamed to core, and formats and clients moved inside
Diffstat (limited to 'objects_test.go')
-rw-r--r--objects_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/objects_test.go b/objects_test.go
index ee77869..78ebc6a 100644
--- a/objects_test.go
+++ b/objects_test.go
@@ -4,7 +4,7 @@ import (
"io/ioutil"
"time"
- "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/plumbing"
. "gopkg.in/check.v1"
"io"
@@ -17,7 +17,7 @@ type ObjectsSuite struct {
var _ = Suite(&ObjectsSuite{})
func (s *ObjectsSuite) TestNewCommit(c *C) {
- hash := core.NewHash("a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69")
+ hash := plumbing.NewHash("a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69")
commit, err := s.Repository.Commit(hash)
c.Assert(err, IsNil)
@@ -45,7 +45,7 @@ func (s *ObjectsSuite) TestNewCommit(c *C) {
}
func (s *ObjectsSuite) TestParseTree(c *C) {
- hash := core.NewHash("a8d315b2b1c615d43042c3a62402b8a54288cf5c")
+ hash := plumbing.NewHash("a8d315b2b1c615d43042c3a62402b8a54288cf5c")
tree, err := s.Repository.Tree(hash)
c.Assert(err, IsNil)