summary refs log tree commit diff stats
path: root/tests/system
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2014-02-11 14:20:55 -0600
committerSimon Hafner <hafnersimon@gmail.com>2014-02-11 14:20:55 -0600
commitb6e4a5229dabe20514b07a130f8b26b59a427d61 (patch)
tree5610e28d200e57e18867d6d9274f76009c4e3171 /tests/system
parentf6e8da4332eb974a0e2d55872667f21aece57bc8 (diff)
downloadNim-b6e4a5229dabe20514b07a130f8b26b59a427d61.tar.gz
explicit firstElement for `$` in collections
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/toString.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/system/toString.nim b/tests/system/toString.nim
index 2a8ce1c0c..24dd903c0 100644
--- a/tests/system/toString.nim
+++ b/tests/system/toString.nim
@@ -1,5 +1,7 @@
 discard """
-  output:'''@[23, 45]'''
+  output:'''@[23, 45]
+@[, \"foo\", \"bar\"]'''
 """
 
 echo($(@[23, 45]))
+echo($(@["", "foo", "bar"]))