From a907811b2244393bf91c19cda65c13f4b2eeb561 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Wed, 22 Dec 2010 01:39:58 -0500 Subject: [PATCH] just finishing up ranges_slices_and_splices.coffee --- test/ranges_slices_and_splices.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ranges_slices_and_splices.coffee b/test/ranges_slices_and_splices.coffee index 7eb49f30..235c0f95 100644 --- a/test/ranges_slices_and_splices.coffee +++ b/test/ranges_slices_and_splices.coffee @@ -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