lots of tweaks make the tests pass again

This commit is contained in:
Jeremy Ashkenas
2009-12-18 23:13:59 -05:00
parent d73ff9a79f
commit 91303efd2c
4 changed files with 472 additions and 453 deletions

View File

@@ -109,9 +109,9 @@ change_a_and_set_b: =>
b: 20
# Array comprehensions.
supper: [food.capitalize() for food in ['toast', 'cheese', 'wine']]
supper: food.capitalize() for food in ['toast', 'cheese', 'wine'].
[drink(bottle) for bottle, i in ['soda', 'wine', 'lemonade'] if even(i)]
drink(bottle) for bottle, i in ['soda', 'wine', 'lemonade'] if even(i).
# Switch statements ("else" serves as a default).
switch day