forked from Mirror/wren
Mainly to get rid of one top level directory. But this will also be useful when there are tests of the embedding API.
11 lines
265 B
Plaintext
11 lines
265 B
Plaintext
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
|