From 5990aeb7198a4961a363eeb422a3faa57c8dc029 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 6 Dec 2016 23:17:16 +0100 Subject: revision based on goreportcard.com --- plumbing/protocol/packp/ulreq_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plumbing/protocol/packp/ulreq_test.go') diff --git a/plumbing/protocol/packp/ulreq_test.go b/plumbing/protocol/packp/ulreq_test.go index 53626ee..177cf0e 100644 --- a/plumbing/protocol/packp/ulreq_test.go +++ b/plumbing/protocol/packp/ulreq_test.go @@ -112,7 +112,7 @@ func (s *UlReqSuite) TestValidateConflictMultiACK(c *C) { c.Assert(err, NotNil) } -func ExampleUlReqEncoder_Encode() { +func ExampleUploadRequest_Encode() { // Create an empty UlReq with the contents you want... ur := NewUploadRequest() @@ -147,7 +147,7 @@ func ExampleUlReqEncoder_Encode() { // 0000 } -func ExampleUlReqDecoder_Decode() { +func ExampleUploadRequest_Decode() { // Here is a raw advertised-ref message. raw := "" + "005bwant 1111111111111111111111111111111111111111 ofs-delta symref=HEAD:/refs/heads/master\n" + -- cgit