mirror of https://github.com/golang/go.git
Update example_test.go
This commit is contained in:
parent
4ca6648eb6
commit
0704d95694
|
|
@ -299,7 +299,7 @@ func ExampleReplace() {
|
|||
}
|
||||
|
||||
func ExampleReplaceAll() {
|
||||
fmt.Printf("%s\n", bytes.ReplaceAll([]byte("oink oink oink"), []byte("oink"), []byte("moo"))
|
||||
fmt.Printf("%s\n", bytes.ReplaceAll([]byte("oink oink oink"), []byte("oink"), []byte("moo")))
|
||||
// Output:
|
||||
// moo moo moo
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue