diff options
Diffstat (limited to 'plumbing/protocol/packp/advrefs_test.go')
-rw-r--r-- | plumbing/protocol/packp/advrefs_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/protocol/packp/advrefs_test.go b/plumbing/protocol/packp/advrefs_test.go index 52ddc5c..0180fd3 100644 --- a/plumbing/protocol/packp/advrefs_test.go +++ b/plumbing/protocol/packp/advrefs_test.go @@ -302,7 +302,7 @@ func (s *AdvRefsDecodeEncodeSuite) TestAllSmartBug(c *C) { s.test(c, input, expected) } -func ExampleDecoder_Decode() { +func ExampleAdvRefs_Decode() { // Here is a raw advertised-ref message. raw := "" + "0065a6930aaee06755d1bdcfd943fbf614e4d92bb0c7 HEAD\x00multi_ack ofs-delta symref=HEAD:/refs/heads/master\n" + @@ -330,7 +330,7 @@ func ExampleDecoder_Decode() { // shallows = [5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c] } -func ExampleEncoder_Encode() { +func ExampleAdvRefs_Encode() { // Create an AdvRefs with the contents you want... ar := NewAdvRefs() |