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() {