aboutsummaryrefslogtreecommitdiffstats
path: root/remote_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-10-23 17:45:01 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2015-10-23 17:45:01 +0200
commitd82f291cde9987322c8a0c81a325e1ba6159684c (patch)
treed423447ee374fbfa802f7ff354651fd34afe0fb2 /remote_test.go
parent6c629843a1750a27c9af01ed2985f362f619c47a (diff)
parent27aa8cdd2431068606741a589383c02c149ea625 (diff)
downloadgo-git-d82f291cde9987322c8a0c81a325e1ba6159684c.tar.gz
Merge pull request #2 from mcuadros/v2.0.0
formats/packfile: cleanup and hash type
Diffstat (limited to 'remote_test.go')
-rw-r--r--remote_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/remote_test.go b/remote_test.go
index 3426fce..881f629 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -1,8 +1,9 @@
package git
import (
+ "gopkg.in/src-d/go-git.v2/formats/packfile"
+
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v2/packfile"
)
type SuiteRemote struct{}
@@ -39,7 +40,7 @@ func (s *SuiteRemote) TestFetchDefaultBranch(c *C) {
reader, err := r.FetchDefaultBranch()
c.Assert(err, IsNil)
- pr, err := packfile.NewPackfileReader(reader, 8<<20, nil)
+ pr, err := packfile.NewPackfileReader(reader, nil)
c.Assert(err, IsNil)
pf, err := pr.Read()