Fixing 4.x grammar to be backward compatible.
Added 3.x unit tests back to show this.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
auto z = zip_with(`+`, {1, 2, 3}, {4, 5, 6})
|
||||
auto z = zip_with(`+`, [1, 2, 3], [4, 5, 6])
|
||||
|
||||
assert_equal({5,7,9}, z)
|
||||
assert_equal([5,7,9], z)
|
||||
|
Reference in New Issue
Block a user