From 5a81570bf2dfd7698d8ae6b3f9f3addd4161d453 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Tue, 6 Aug 2024 20:16:42 +0300 Subject: bytes,strings: use a more universal Cyrillic word MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The word "брат" (brother) is the same across Slavic languages that use the Cyrillic script, such as Bulgarian, Macedonian, Russian, Ukrainian, and others. Change-Id: I5155e6bb16a02dec5d93a01b79f9570f43f09444 Reviewed-on: https://go-review.googlesource.com/c/go/+/603535 Reviewed-by: Robert Griesemer LUCI-TryBot-Result: Go LUCI Auto-Submit: Robert Griesemer Reviewed-by: David Chase --- src/bytes/example_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bytes/example_test.go') 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() { -- cgit v1.3