aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/pktline/scanner_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/format/pktline/scanner_test.go')
-rw-r--r--plumbing/format/pktline/scanner_test.go2
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))
}