mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
adding test for body-less while, using null as the body so JSLint doesn't get in a tizzy
This commit is contained in:
8
test/fixtures/execution/test_literals.coffee
vendored
8
test/fixtures/execution/test_literals.coffee
vendored
@@ -23,4 +23,10 @@ print(func() is null)
|
||||
str: "\\"
|
||||
reg: /\\/
|
||||
|
||||
print(reg(str) and str is '\\')
|
||||
print(reg(str) and str is '\\')
|
||||
|
||||
|
||||
i: 10
|
||||
while i -= 1
|
||||
|
||||
print(i is 0)
|
||||
Reference in New Issue
Block a user