summary refs log tree commit diff stats
path: root/tests/system/toString.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/toString.nim')
-rw-r--r--tests/system/toString.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/system/toString.nim b/tests/system/toString.nim
index 37c678a74..ea10f998c 100644
--- a/tests/system/toString.nim
+++ b/tests/system/toString.nim
@@ -6,6 +6,7 @@ doAssert "@[23, 45]" == $(@[23, 45])
 doAssert "[32, 45]" == $([32, 45])
 doAssert """@["", "foo", "bar"]""" == $(@["", "foo", "bar"])
 doAssert """["", "foo", "bar"]""" ==  $(["", "foo", "bar"])
+doAssert """["", "foo", "bar"]""" ==  $(@["", "foo", "bar"].toOpenArray(0, 2))
 
 # bug #2395
 let alphaSet: set[char] = {'a'..'c'}