aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytes/example_test.go')
-rw-r--r--src/bytes/example_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytes/example_test.go b/src/bytes/example_test.go
index 5a66b1e436..54df5f74e5 100644
--- a/src/bytes/example_test.go
+++ b/src/bytes/example_test.go
@@ -102,7 +102,7 @@ func ExampleBuffer_Read() {
fmt.Println(n)
fmt.Println(b.String())
fmt.Println(string(rdbuf))
- // Output
+ // Output:
// 1
// bcde
// a
@@ -118,7 +118,7 @@ func ExampleBuffer_ReadByte() {
}
fmt.Println(c)
fmt.Println(b.String())
- // Output
+ // Output:
// 97
// bcde
}