diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 17:45:01 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2015-10-23 17:45:01 +0200 |
commit | d82f291cde9987322c8a0c81a325e1ba6159684c (patch) | |
tree | d423447ee374fbfa802f7ff354651fd34afe0fb2 /remote_test.go | |
parent | 6c629843a1750a27c9af01ed2985f362f619c47a (diff) | |
parent | 27aa8cdd2431068606741a589383c02c149ea625 (diff) | |
download | go-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.go | 5 |
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() |