summaryrefslogtreecommitdiff
path: root/test/char_lit.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2008-05-08 17:12:15 -0700
committerRobert Griesemer <gri@golang.org>2008-05-08 17:12:15 -0700
commita718ff42cea6e7490261e23e9fb37b0caa33be4e (patch)
tree6fc2b040e6b32367f31b9d6b064fad5562a300a9 /test/char_lit.go
parentc06e4d753e4bf662dd508ce4fe4226aaca0d7287 (diff)
downloadgo-a718ff42cea6e7490261e23e9fb37b0caa33be4e.tar.gz
- changed literal syntax to use the convert notation
- fixed issued with function declarations/function literals - added more tests and fixed existing tests SVN=118167
Diffstat (limited to 'test/char_lit.go')
-rw-r--r--test/char_lit.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/char_lit.go b/test/char_lit.go
index 6af96be9c..7943f164f 100644
--- a/test/char_lit.go
+++ b/test/char_lit.go
@@ -7,7 +7,8 @@
package main
func main() {
- [ ' ',
+ []int(
+ ' ',
'a',
'ä',
'本',
@@ -30,5 +31,5 @@ func main() {
'\ubabe',
'\U0123ABCD',
'\Ucafebabe'
- ]
+ );
}