diff options
Diffstat (limited to 'test/built-ins/Array/prototype/copyWithin/negative-target.js')
-rw-r--r-- | test/built-ins/Array/prototype/copyWithin/negative-target.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/copyWithin/negative-target.js b/test/built-ins/Array/prototype/copyWithin/negative-target.js index 29fd24975..99844a4b8 100644 --- a/test/built-ins/Array/prototype/copyWithin/negative-target.js +++ b/test/built-ins/Array/prototype/copyWithin/negative-target.js @@ -17,24 +17,21 @@ includes: [compareArray.js] assert( compareArray( - [0, 1, 2, 3].copyWithin(-1, 0), - [0, 1, 2, 0] + [0, 1, 2, 3].copyWithin(-1, 0), [0, 1, 2, 0] ), '[0, 1, 2, 3].copyWithin(-1, 0) -> [0, 1, 2, 0]' ); assert( compareArray( - [0, 1, 2, 3, 4].copyWithin(-2, 2), - [0, 1, 2, 2, 3] + [0, 1, 2, 3, 4].copyWithin(-2, 2), [0, 1, 2, 2, 3] ), '[0, 1, 2, 3, 4].copyWithin(-2, 2) -> [0, 1, 2, 2, 3]' ); assert( compareArray( - [0, 1, 2, 3].copyWithin(-1, 2), - [0, 1, 2, 2] + [0, 1, 2, 3].copyWithin(-1, 2), [0, 1, 2, 2] ), '[0, 1, 2, 3].copyWithin(-1, 2) -> [0, 1, 2, 2]' ); |