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
+6
View File
@@ -1,2 +1,8 @@
IO.print("".count) // expect: 0
IO.print("a string".count) // expect: 8
// 8-bit clean
IO.print("\0".count) // expect: 1
IO.print("a\0b".count) // expect: 3
IO.print("\0c".count) // expect: 2
IO.print(("a\0b" + "\0c").count) // expect: 5