diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2014-03-31 15:58:52 -0500 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2014-03-31 15:58:52 -0500 |
commit | 71b69a627f0558bd2286df54caeab267d2ddeb5f (patch) | |
tree | 2d54a25fe82094b70b4929046a69e2db7d14f7f1 /tests/system | |
parent | ffb36db5a6caa147119aed1728c8042dfa68a3e8 (diff) | |
download | Nim-71b69a627f0558bd2286df54caeab267d2ddeb5f.tar.gz |
added `$` for arrays
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/toString.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/system/toString.nim b/tests/system/toString.nim index 24dd903c0..17dcb3cb4 100644 --- a/tests/system/toString.nim +++ b/tests/system/toString.nim @@ -1,7 +1,11 @@ discard """ output:'''@[23, 45] -@[, \"foo\", \"bar\"]''' +@[, foo, bar] +[, foo, bar] +[23, 45]''' """ echo($(@[23, 45])) echo($(@["", "foo", "bar"])) +echo($(["", "foo", "bar"])) +echo($([23, 45])) |