summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/copyWithin/negative-out-of-bounds-target.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/copyWithin/negative-out-of-bounds-target.js')
-rw-r--r--test/built-ins/Array/prototype/copyWithin/negative-out-of-bounds-target.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/built-ins/Array/prototype/copyWithin/negative-out-of-bounds-target.js b/test/built-ins/Array/prototype/copyWithin/negative-out-of-bounds-target.js
index f17ab8a8a..72b95dcac 100644
--- a/test/built-ins/Array/prototype/copyWithin/negative-out-of-bounds-target.js
+++ b/test/built-ins/Array/prototype/copyWithin/negative-out-of-bounds-target.js
@@ -17,28 +17,32 @@ includes: [compareArray.js]
assert(
compareArray(
- [0, 1, 2, 3].copyWithin(-10, 0), [0, 1, 2, 3]
+ [0, 1, 2, 3].copyWithin(-10, 0),
+ [0, 1, 2, 3]
),
'[0, 1, 2, 3].copyWithin(-10, 0) -> [0, 1, 2, 3]'
);
assert(
compareArray(
- [1, 2, 3, 4, 5].copyWithin(-Infinity, 0), [1, 2, 3, 4, 5]
+ [1, 2, 3, 4, 5].copyWithin(-Infinity, 0),
+ [1, 2, 3, 4, 5]
),
'[1, 2, 3, 4, 5].copyWithin(-Infinity, 0) -> [1, 2, 3, 4, 5]'
);
assert(
compareArray(
- [0, 1, 2, 3, 4].copyWithin(-10, 2), [2, 3, 4, 3, 4]
+ [0, 1, 2, 3, 4].copyWithin(-10, 2),
+ [2, 3, 4, 3, 4]
),
'[0, 1, 2, 3, 4].copyWithin(-10, 2) -> [2, 3, 4, 3, 4]'
);
assert(
compareArray(
- [1, 2, 3, 4, 5].copyWithin(-Infinity, 2), [3, 4, 5, 4, 5]
+ [1, 2, 3, 4, 5].copyWithin(-Infinity, 2),
+ [3, 4, 5, 4, 5]
),
'[1, 2, 3, 4, 5].copyWithin(-Infinity, 2) -> [3, 4, 5, 4, 5]'
);