summary refs log tree commit diff stats
path: root/tests/system
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2014-03-31 15:58:52 -0500
committerSimon Hafner <hafnersimon@gmail.com>2014-03-31 15:58:52 -0500
commit71b69a627f0558bd2286df54caeab267d2ddeb5f (patch)
tree2d54a25fe82094b70b4929046a69e2db7d14f7f1 /tests/system
parentffb36db5a6caa147119aed1728c8042dfa68a3e8 (diff)
downloadNim-71b69a627f0558bd2286df54caeab267d2ddeb5f.tar.gz
added `$` for arrays
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/toString.nim6
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]))