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 | 9bc7b08abbb53469ebc39fb6617b29da0756e858 (patch) | |
tree | 6fc2b040e6b32367f31b9d6b064fad5562a300a9 /test/string_lit.go | |
parent | 7fbe486b1a84207b4c75664257ad538384e280d8 (diff) | |
download | go-9bc7b08abbb53469ebc39fb6617b29da0756e858.tar.gz go-9bc7b08abbb53469ebc39fb6617b29da0756e858.zip |
- 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 87f7dae3ac..1e725354b2 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\` - ] + ); } |