diff options
author | Santiago M. Mola <santi@mola.io> | 2017-04-26 13:26:51 +0200 |
---|---|---|
committer | Santiago M. Mola <santi@mola.io> | 2017-04-26 13:41:46 +0200 |
commit | 45ac03181f61477d28e031725c68f938cb379554 (patch) | |
tree | e1a636db10a31df84dd05fb312586a77b860dd79 /plumbing/format/pktline/scanner_test.go | |
parent | 9e4f992d9633dd1ac8cc0b5bcd92b377190a9a03 (diff) | |
download | go-git-45ac03181f61477d28e031725c68f938cb379554.tar.gz |
fix format string issues as found by go vet
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)) } |