diff options
author | Araq <rumpf_a@web.de> | 2014-04-09 00:48:27 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-04-09 00:48:27 +0200 |
commit | 0c64849aab957601c71a34f7158eb0e8bd5d4e25 (patch) | |
tree | 40e4fe6c3a9319d5cf315c60faae547d67665161 /tests | |
parent | 4196757de768e5832d740e87164d0597e5f95363 (diff) | |
parent | 36869b3aed66b7edd8c116929eb418bb9d6f4554 (diff) | |
download | Nim-0c64849aab957601c71a34f7158eb0e8bd5d4e25.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/toString.nim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/system/toString.nim b/tests/system/toString.nim new file mode 100644 index 000000000..17dcb3cb4 --- /dev/null +++ b/tests/system/toString.nim @@ -0,0 +1,11 @@ +discard """ + output:'''@[23, 45] +@[, foo, bar] +[, foo, bar] +[23, 45]''' +""" + +echo($(@[23, 45])) +echo($(@["", "foo", "bar"])) +echo($(["", "foo", "bar"])) +echo($([23, 45])) |