make tests green again; closes #5861

This commit is contained in:
Andreas Rumpf 2017-10-10 09:18:31 +02:00
commit 55cb959a68
4 changed files with 19 additions and 19 deletions

View file

@ -50,4 +50,4 @@ import strutils
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, !, \0]"
doAssert $arr.cstring == "Hello World!"
doAssert $cstring(unsafeAddr arr) == "Hello World!"