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:
@@ -14,5 +14,14 @@ io.write(1 >= 2) // expect: false
|
||||
io.write(2 >= 2) // expect: true
|
||||
io.write(2 >= 1) // expect: true
|
||||
|
||||
// Zero and negative zero compare the same.
|
||||
io.write(0 < -0) // expect: false
|
||||
io.write(-0 < 0) // expect: false
|
||||
io.write(0 > -0) // expect: false
|
||||
io.write(-0 > 0) // expect: false
|
||||
io.write(0 <= -0) // expect: true
|
||||
io.write(-0 <= 0) // expect: true
|
||||
io.write(0 >= -0) // expect: true
|
||||
io.write(-0 >= 0) // expect: true
|
||||
|
||||
// TODO: Wrong type for RHS.
|
||||
// TODO: Comparing zero and negative zero.
|
||||
|
||||
Reference in New Issue
Block a user