diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-26 15:49:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 15:49:34 +0200 |
commit | e85778eecc8df3356a238396933c1303ab79124c (patch) | |
tree | 898fcce1fa5f6ddceaf102a408d8319bf4bdd1ae /plumbing/format/pktline/scanner_test.go | |
parent | df8b1cb8a8d4b3d53cbe64ae306d72bde29b56b0 (diff) | |
parent | bca4f9541ae0620ff203bde6da5e3126cfa16f04 (diff) | |
download | go-git-e85778eecc8df3356a238396933c1303ab79124c.tar.gz |
Merge pull request #360 from smola/go-vet
fix go vet issues, add go vet to CI
Diffstat (limited to 'plumbing/format/pktline/scanner_test.go')
-rw-r--r-- | plumbing/format/pktline/scanner_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/pktline/scanner_test.go b/plumbing/format/pktline/scanner_test.go index b8a78ec..048ea38 100644 --- a/plumbing/format/pktline/scanner_test.go +++ b/plumbing/format/pktline/scanner_test.go @@ -218,7 +218,7 @@ func ExampleScanner() { for s.Scan() { payload := s.Bytes() if len(payload) == 0 { // zero sized payloads correspond to flush-pkts. - fmt.Println("FLUSH-PKT DETECTED\n") + fmt.Println("FLUSH-PKT DETECTED") } else { // otherwise, you will be able to access the full payload. fmt.Printf("PAYLOAD = %q\n", string(payload)) } |