mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Merge branch 'refactorTests' of http://github.com/michaelficarra/coffee-script
This commit is contained in:
@@ -159,3 +159,7 @@ test "splicing with expressions as endpoints", ->
|
||||
ary = [0..9]
|
||||
ary[ a+1 .. 2*b+1 ] = [4]
|
||||
arrayEq [0, 1, 4, 8, 9], ary
|
||||
|
||||
ary = [0..9]
|
||||
ary[a+1...2*b+1] = [4]
|
||||
arrayEq [0, 1, 4, 7, 8, 9], ary
|
||||
|
||||
Reference in New Issue
Block a user