mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 14:48:40 +01:00
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
|