diff options
author | Antonio Navarro Perez <antnavper@gmail.com> | 2017-01-25 00:30:09 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-25 00:30:09 +0100 |
commit | dc45de29f87a43078356a5be4c4b5aa24f626ee0 (patch) | |
tree | a36e94fedc5d82155c67857f8e8a8632fb15ff1e /plumbing/protocol/packp/uppackreq_test.go | |
parent | e549c1819773fd8ab302ecd1b7650c25aafaba43 (diff) | |
download | go-git-dc45de29f87a43078356a5be4c4b5aa24f626ee0.tar.gz |
transport/http: fix partial request with haves. Fix #216. (#221)
Diffstat (limited to 'plumbing/protocol/packp/uppackreq_test.go')
-rw-r--r-- | plumbing/protocol/packp/uppackreq_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/protocol/packp/uppackreq_test.go b/plumbing/protocol/packp/uppackreq_test.go index 273f916..f776c07 100644 --- a/plumbing/protocol/packp/uppackreq_test.go +++ b/plumbing/protocol/packp/uppackreq_test.go @@ -58,7 +58,7 @@ func (s *UploadHavesSuite) TestEncode(c *C) { ) buf := bytes.NewBuffer(nil) - err := uh.Encode(buf) + err := uh.Encode(buf, true) c.Assert(err, IsNil) c.Assert(buf.String(), Equals, ""+ "0032have 1111111111111111111111111111111111111111\n"+ |