aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 9921a207b1..00e39cadcb 100644
--- a/src/bytes/example_test.go
+++ b/src/bytes/example_test.go
@@ -383,9 +383,9 @@ func ExampleMap() {
}
func ExampleTrimLeft() {
- fmt.Print(string(bytes.TrimLeft([]byte("+ 005400"), "+0 ")))
+ fmt.Print(string(bytes.TrimLeft([]byte("453gopher8257"), "0123456789")))
// Output:
- // 5400
+ // gopher8257
}
func ExampleTrimLeftFunc() {