summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/system/tdollars.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/system/tdollars.nim b/tests/system/tdollars.nim
index 17d195e76..93fa5cb9e 100644
--- a/tests/system/tdollars.nim
+++ b/tests/system/tdollars.nim
@@ -187,5 +187,12 @@ proc main()=
     test2 high(int8), "127"
     test2 low(int8), "-128"
 
+  block:
+    const
+      a: array[3, char] = ['N', 'i', 'm']
+      aStr = $(a)
+
+    doAssert aStr == """['N', 'i', 'm']"""
+
 static: main()
 main()