diff options
Diffstat (limited to 'tests/system/toString.nim')
-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])) |