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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/example_test.go b/src/bytes/example_test.go
index 00e39cadcb..5b7a46058f 100644
--- a/src/bytes/example_test.go
+++ b/src/bytes/example_test.go
@@ -155,7 +155,7 @@ func ExampleCount() {
func ExampleEqual() {
fmt.Println(bytes.Equal([]byte("Go"), []byte("Go")))
- fmt.Println(bytes.Equal([]byte("Go"), []byte("go")))
+ fmt.Println(bytes.Equal([]byte("Go"), []byte("C++")))
// Output:
// true
// false