]> Cypherpunks repositories - gostls13.git/commitdiff
strings: fix typo in examples
authorGökhan Özeloğlu <gozeloglu@gmail.com>
Fri, 16 Aug 2024 20:41:25 +0000 (23:41 +0300)
committerGopher Robot <gobot@golang.org>
Fri, 16 Aug 2024 23:50:48 +0000 (23:50 +0000)
The correct word can be seen in lines 381-382.

Change-Id: If3876bd34b6433b69531763f63af88d60a0bfad0
Reviewed-on: https://go-review.googlesource.com/c/go/+/606375
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/strings/example_test.go

index 413d1bf997403015fbc6a2068b9b0584667a28f6..08efcbf68ff0f6a03325b8cb91bc998f393d8100 100644 (file)
@@ -388,8 +388,8 @@ func ExampleToLower() {
 }
 
 func ExampleToLowerSpecial() {
-       fmt.Println(strings.ToLowerSpecial(unicode.TurkishCase, "Önnek İş"))
-       // Output: önnek iş
+       fmt.Println(strings.ToLowerSpecial(unicode.TurkishCase, "Örnek İş"))
+       // Output: örnek iş
 }
 
 func ExampleTrim() {