aboutsummaryrefslogtreecommitdiff
path: root/src/bytes
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytes')
-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 1cc0089e41..c9086d3918 100644
--- a/src/bytes/example_test.go
+++ b/src/bytes/example_test.go
@@ -502,10 +502,10 @@ func ExampleTitle() {
func ExampleToTitle() {
fmt.Printf("%s\n", bytes.ToTitle([]byte("loud noises")))
- fmt.Printf("%s\n", bytes.ToTitle([]byte("хлеб")))
+ fmt.Printf("%s\n", bytes.ToTitle([]byte("брат")))
// Output:
// LOUD NOISES
- // ХЛЕБ
+ // БРАТ
}
func ExampleToTitleSpecial() {