aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-10-25 12:34:25 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2015-10-25 12:34:25 +0100
commitbe69a505926451bf10450ac68d40265a6f43e150 (patch)
treec0c4a19d75a5cb9158d1d35419918d806b251dfd /remote_test.go
parentf5dfba3742d551411ed0d6279c18f867b6496368 (diff)
downloadgo-git-be69a505926451bf10450ac68d40265a6f43e150.tar.gz
formats/packfile: new reader API (wip)
Diffstat (limited to 'remote_test.go')
-rw-r--r--remote_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote_test.go b/remote_test.go
index 881f629..6cdbce0 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -43,7 +43,7 @@ func (s *SuiteRemote) TestFetchDefaultBranch(c *C) {
pr, err := packfile.NewPackfileReader(reader, nil)
c.Assert(err, IsNil)
- pf, err := pr.Read()
+ ch, err := pr.Read()
c.Assert(err, IsNil)
- c.Assert(pf.ObjectCount, Equals, 28)
+ c.Assert(ch, NotNil)
}