diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-13 01:51:00 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-13 01:51:00 +0200 |
commit | a6ea9e8dd2eda48c8405f609e0fb444d3717af53 (patch) | |
tree | a2815bca686619d10151a531cddf5a7fdadedffa /commit_test.go | |
parent | ae999ede139f5fa5601ffb7c55979608b112d274 (diff) | |
download | go-git-a6ea9e8dd2eda48c8405f609e0fb444d3717af53.tar.gz |
Repository and Remote API changes
Diffstat (limited to 'commit_test.go')
-rw-r--r-- | commit_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/commit_test.go b/commit_test.go index 2240ab3..5d009e0 100644 --- a/commit_test.go +++ b/commit_test.go @@ -42,7 +42,7 @@ var commitIterTests = []struct { func (s *SuiteCommit) TestIterSlice(c *C) { for i, t := range commitIterTests { r := s.repos[t.repo] - iter := NewCommitIter(r, core.NewObjectSliceIter(makeObjectSlice(t.commits, r.Storage))) + iter := NewCommitIter(r, core.NewObjectSliceIter(makeObjectSlice(t.commits, r.os))) s.checkIter(c, r, i, iter, t.commits) } } @@ -50,7 +50,7 @@ func (s *SuiteCommit) TestIterSlice(c *C) { func (s *SuiteCommit) TestIterLookup(c *C) { for i, t := range commitIterTests { r := s.repos[t.repo] - iter := NewCommitIter(r, core.NewObjectLookupIter(r.Storage, makeHashSlice(t.commits))) + iter := NewCommitIter(r, core.NewObjectLookupIter(r.os, makeHashSlice(t.commits))) s.checkIter(c, r, i, iter, t.commits) } } @@ -68,7 +68,7 @@ func (s *SuiteCommit) checkIter(c *C, r *Repository, subtest int, iter *CommitIt func (s *SuiteCommit) TestIterSliceClose(c *C) { for i, t := range commitIterTests { r := s.repos[t.repo] - iter := NewCommitIter(r, core.NewObjectSliceIter(makeObjectSlice(t.commits, r.Storage))) + iter := NewCommitIter(r, core.NewObjectSliceIter(makeObjectSlice(t.commits, r.os))) s.checkIterClose(c, i, iter) } } @@ -76,7 +76,7 @@ func (s *SuiteCommit) TestIterSliceClose(c *C) { func (s *SuiteCommit) TestIterLookupClose(c *C) { for i, t := range commitIterTests { r := s.repos[t.repo] - iter := NewCommitIter(r, core.NewObjectLookupIter(r.Storage, makeHashSlice(t.commits))) + iter := NewCommitIter(r, core.NewObjectLookupIter(r.os, makeHashSlice(t.commits))) s.checkIterClose(c, i, iter) } } |