mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 12:33:42 +00:00
examples/test: make unicode example more interesting
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user