From 3e6750ae23fb490e99004b8960424c381373457e Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Fri, 21 Sep 2018 12:54:26 +0200 Subject: [PATCH] examples/test: make unicode example more interesting --- src/examples/test/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/test/test.go b/src/examples/test/test.go index d1130689..7a9bb781 100644 --- a/src/examples/test/test.go +++ b/src/examples/test/test.go @@ -85,7 +85,7 @@ func main() { }, 3) // test library functions - println("lower to upper char:", 'h', "->", unicode.ToUpper('h')) + println("lower to upper char:", string('h'), "->", string(unicode.ToUpper('h'))) } func runFunc(f func(int), arg int) {