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

@@ -1,17 +1,17 @@
i: 100
while i -= 1
print(i is 0)
print i is 0
i: 5
list: while i -= 1
i * 2
print(list.join(' ') is "8 6 4 2")
print list.join(' ') is "8 6 4 2"
i: 5
list: (i * 3 while i -= 1)
print(list.join(' ') is "12 9 6 3")
print list.join(' ') is "12 9 6 3"