diff options
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/toString.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/system/toString.nim b/tests/system/toString.nim index 0eed596ae..377336c90 100644 --- a/tests/system/toString.nim +++ b/tests/system/toString.nim @@ -46,6 +46,7 @@ doAssert dataStr == $data import strutils # array test + let arr = ['H','e','l','l','o',' ','W','o','r','l','d','!','\0'] -doAssert $arr == "[H, e, l, l, o, , W, o, r, l, d, !, ]" +doAssert $arr == "[H, e, l, l, o, , W, o, r, l, d, !, \0]" doAssert $arr.cstring == "Hello World!" |