diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2014-02-11 14:20:55 -0600 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2014-02-11 14:20:55 -0600 |
commit | b6e4a5229dabe20514b07a130f8b26b59a427d61 (patch) | |
tree | 5610e28d200e57e18867d6d9274f76009c4e3171 /tests/system | |
parent | f6e8da4332eb974a0e2d55872667f21aece57bc8 (diff) | |
download | Nim-b6e4a5229dabe20514b07a130f8b26b59a427d61.tar.gz |
explicit firstElement for `$` in collections
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/toString.nim | 4 |
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"])) |