summary refs log tree commit diff stats
path: root/tests/system
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/toString.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/system/toString.nim b/tests/system/toString.nim
new file mode 100644
index 000000000..24dd903c0
--- /dev/null
+++ b/tests/system/toString.nim
@@ -0,0 +1,7 @@
+discard """
+  output:'''@[23, 45]
+@[, \"foo\", \"bar\"]'''
+"""
+
+echo($(@[23, 45]))
+echo($(@["", "foo", "bar"]))