1
0
forked from Mirror/wren
Files
wren/test/string/to_string.wren
2015-02-04 20:26:29 -08:00

8 lines
266 B
Plaintext

IO.print("".toString == "") // expect: true
IO.print("blah".toString == "blah") // expect: true
// 8-bit clean.
IO.print("a\0b\0c".toString == "a\0b\0c") // expect: true
IO.print("a\0b\0c".toString == "a") // expect: false
IO.print("a\0b\0c".toString) // expect: a