Fixing 4.x grammar to be backward compatible.
Added 3.x unit tests back to show this.
This commit is contained in:
@@ -13,4 +13,4 @@ assert_equal(0, i -= i)
|
||||
assert_equal(3, j *= 1.5)
|
||||
assert_equal(1.5, j /= 2)
|
||||
assert_equal(2.5, j += 1)
|
||||
assert_throws("No modulous for float", []() { k % 2 } );
|
||||
assert_throws("No modulus for float", fun() { k % 2 } );
|
||||
|
Reference in New Issue
Block a user