Files
wren/test/list/newlines.wren
Bob Nystrom f2b036420d Fix a bunch of test TODOs.
- Added a bunch of tests.
- Removed some TODOs for stuff that's already done.
- Made list literals handle newlines better.
2013-12-20 12:42:11 -08:00

15 lines
197 B
Plaintext

// Allow newlines in most places.
var list = [
"a"
, "b",
"c", "d"
]
io.write(list[0]) // expect: a
io.write(list[1]) // expect: b
io.write(list[2]) // expect: c
io.write(list[3]) // expect: d