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.
This commit is contained in:
Bob Nystrom
2013-12-20 12:42:11 -08:00
parent 315ed1c425
commit f2b036420d
12 changed files with 54 additions and 15 deletions
-4
View File
@@ -1,7 +1,3 @@
io.write([].count) // expect: 0
io.write([1].count) // expect: 1
io.write([1, 2, 3, 4].count) // expect: 4
// TODO: Literal syntax, including newline handling.
// TODO: Unterminated list literal.
// TODO: Subscript operator.