diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-07 20:29:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 20:29:58 +0100 |
commit | 0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23 (patch) | |
tree | b9c7485fe99e6e89fa736ceb0223aeb2ecddb77c /tag_test.go | |
parent | f6ed7424cbf33c7013332d7e95b4262a4bc4a523 (diff) | |
download | go-git-0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23.tar.gz |
global storage interface refactor (#112)
* core: ObjectStorage, ReferenceStorage renamed to ObjectStorer and
ReferenceStorer
* rebase
* general, changes request by @alcortes
* general, changes request by @alcortes
Diffstat (limited to 'tag_test.go')
-rw-r--r-- | tag_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tag_test.go b/tag_test.go index 5957678..811fee7 100644 --- a/tag_test.go +++ b/tag_test.go @@ -115,7 +115,7 @@ func (s *TagSuite) TestObject(c *C) { func (s *TagSuite) TestTagItter(c *C) { r := s.Repositories["https://github.com/git-fixtures/tags.git"] - iter, err := r.s.ObjectStorage().Iter(core.TagObject) + iter, err := r.s.IterObjects(core.TagObject) c.Assert(err, IsNil) var count int @@ -131,7 +131,7 @@ func (s *TagSuite) TestTagItter(c *C) { func (s *TagSuite) TestTagIterError(c *C) { r := s.Repositories["https://github.com/git-fixtures/tags.git"] - iter, err := r.s.ObjectStorage().Iter(core.TagObject) + iter, err := r.s.IterObjects(core.TagObject) c.Assert(err, IsNil) i := NewTagIter(r, iter) |