diff options
Diffstat (limited to 'remote_test.go')
-rw-r--r-- | remote_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote_test.go b/remote_test.go index a4e8e35..8296f8e 100644 --- a/remote_test.go +++ b/remote_test.go @@ -178,10 +178,10 @@ func (s *RemoteSuite) TestFetchWithPackfileWriter(c *C) { c.Assert(err, IsNil) var count int - iter, err := mock.IterObjects(plumbing.AnyObject) + iter, err := mock.IterEncodedObjects(plumbing.AnyObject) c.Assert(err, IsNil) - iter.ForEach(func(plumbing.Object) error { + iter.ForEach(func(plumbing.EncodedObject) error { count++ return nil }) |