diff options
author | Robert Griesemer <gri@golang.org> | 2008-05-08 17:12:15 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2008-05-08 17:12:15 -0700 |
commit | a718ff42cea6e7490261e23e9fb37b0caa33be4e (patch) | |
tree | 6fc2b040e6b32367f31b9d6b064fad5562a300a9 /test/char_lit.go | |
parent | c06e4d753e4bf662dd508ce4fe4226aaca0d7287 (diff) | |
download | go-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.go | 5 |
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' - ] + ); } |