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/string_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/string_lit.go')
-rw-r--r-- | test/string_lit.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/string_lit.go b/test/string_lit.go index 87f7dae3a..1e725354b 100644 --- a/test/string_lit.go +++ b/test/string_lit.go @@ -7,7 +7,8 @@ package main func main() { - [ "", + []string( + "", " ", "'`", "a", @@ -25,5 +26,5 @@ func main() { `\a\b\f\n\r\t\v\\\'\"`, `\000\123\x00\xca\xFE\u0123\ubabe\U0123ABCD\Ucafebabe`, `\x\u\U\` - ] + ); } |