aboutsummaryrefslogtreecommitdiff
path: root/src/strings/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/example_test.go')
-rw-r--r--src/strings/example_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/strings/example_test.go b/src/strings/example_test.go
index bdab7ae8de..413d1bf997 100644
--- a/src/strings/example_test.go
+++ b/src/strings/example_test.go
@@ -328,22 +328,22 @@ func ExampleTitle() {
// Compare this example to the ToTitle example.
fmt.Println(strings.Title("her royal highness"))
fmt.Println(strings.Title("loud noises"))
- fmt.Println(strings.Title("хлеб"))
+ fmt.Println(strings.Title("брат"))
// Output:
// Her Royal Highness
// Loud Noises
- // Хлеб
+ // Брат
}
func ExampleToTitle() {
// Compare this example to the Title example.
fmt.Println(strings.ToTitle("her royal highness"))
fmt.Println(strings.ToTitle("loud noises"))
- fmt.Println(strings.ToTitle("хлеб"))
+ fmt.Println(strings.ToTitle("брат"))
// Output:
// HER ROYAL HIGHNESS
// LOUD NOISES
- // ХЛЕБ
+ // БРАТ
}
func ExampleToTitleSpecial() {