fix and tests for half assignments... whew.

This commit is contained in:
Jeremy Ashkenas
2010-03-21 23:24:24 -04:00
parent 895cd88761
commit cbfe7f5822
3 changed files with 64 additions and 13 deletions

View File

@@ -0,0 +1,36 @@
num: 10
num: - 5
ok num is 5
num: -3
ok num is -3
num: +3
ok num is 3
num: * 10
ok num is 30
num: / 10
ok num is 3
val: false
val: or 'value'
ok val is 'value'
val: and 'other'
ok val is 'other'
val: null
val: ? 'value'
ok val is 'value'