converted the tests to use optional parentheses -- lot's of little subtleties to work out

This commit is contained in:
Jeremy Ashkenas
2010-01-24 23:40:45 -05:00
parent 70e3a6ef2f
commit a5d39efdd2
25 changed files with 106 additions and 101 deletions

View File

@@ -14,8 +14,7 @@ result: switch num
when 11 then false
else false
print(result)
print result
func: num =>
switch num
@@ -25,7 +24,7 @@ func: num =>
false
else false
print(func(2))
print(func(6))
print(!func(3))
print(!func(8))
print func(2)
print func(6)
print !func(3)
print !func(8)