examples/test: make unicode example more interesting

This commit is contained in:
Ayke van Laethem
2018-09-21 12:54:26 +02:00
parent 486ea1b8ea
commit 3e6750ae23
+1 -1
View File
@@ -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) {