2014-01-05 20:27:12 +00:00
|
|
|
IO.print("".count) // expect: 0
|
|
|
|
|
IO.print("a string".count) // expect: 8
|
feat: add 8-bit string test cases across concatenation, contains, count, ends_with, equality, index_of, iterate, iterator_value, join, starts_with, subscript, and to_string
2015-02-04 12:58:16 +00:00
|
|
|
|
2015-02-05 04:26:29 +00:00
|
|
|
// 8-bit clean.
|
feat: add 8-bit string test cases across concatenation, contains, count, ends_with, equality, index_of, iterate, iterator_value, join, starts_with, subscript, and to_string
2015-02-04 12:58:16 +00:00
|
|
|
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
|