Adding 8-bit strings test cases.

This commit is contained in:
Marco Lizza
2015-02-04 13:58:16 +01:00
parent abc43f18bc
commit d73b19967d
12 changed files with 71 additions and 0 deletions
+5
View File
@@ -3,3 +3,8 @@ var str = "string"
IO.print(str.join("") == str) // expect: true
IO.print(str.join(", ")) // expect: s, t, r, i, n, g
// 8-bit clean
var ing = "a\0b\0c"
IO.print(ing.join("") == ing) // expect: true
IO.print(ing.join(", ") == "a, \0, b, \0, c") // expect: true