summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2018-02-15 13:00:09 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 16:45:08 -0500
commit098c69540ee57f94daf795b20e8a3e70ab986860 (patch)
tree9b207f1900e7beb8f3b28989230b00e00c80ef38 /test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js
parent3f3f2faa8e71eaa3f316635dc8fb3c3a0661b654 (diff)
downloadqtdeclarative-testsuites-098c69540ee57f94daf795b20e8a3e70ab986860.tar.gz
Remove N()
Diffstat (limited to 'test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js')
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js42
1 files changed, 21 insertions, 21 deletions
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js b/test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js
index d3a12fe31..6f77a75cd 100644
--- a/test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js
+++ b/test/built-ins/TypedArray/prototype/copyWithin/negative-out-of-bounds-end.js
@@ -28,83 +28,83 @@ includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
-testWithTypedArrayConstructors(function(TA, N) {
+testWithTypedArrayConstructors(function(TA) {
assert(
compareArray(
- new TA(N([0, 1, 2, 3])).copyWithin(0, 1, -10),
- N([0, 1, 2, 3])
+ new TA([0, 1, 2, 3]).copyWithin(0, 1, -10),
+ [0, 1, 2, 3]
),
'[0, 1, 2, 3].copyWithin(0, 1, -10) -> [0, 1, 2, 3]'
);
assert(
compareArray(
- new TA(N([1, 2, 3, 4, 5])).copyWithin(0, 1, -Infinity),
- N([1, 2, 3, 4, 5])
+ new TA([1, 2, 3, 4, 5]).copyWithin(0, 1, -Infinity),
+ [1, 2, 3, 4, 5]
),
'[1, 2, 3, 4, 5].copyWithin(0, 1, -Infinity) -> [1, 2, 3, 4, 5]'
);
assert(
compareArray(
- new TA(N([0, 1, 2, 3])).copyWithin(0, -2, -10),
- N([0, 1, 2, 3])
+ new TA([0, 1, 2, 3]).copyWithin(0, -2, -10),
+ [0, 1, 2, 3]
),
'[0, 1, 2, 3].copyWithin(0, -2, -10) -> [0, 1, 2, 3]'
);
assert(
compareArray(
- new TA(N([1, 2, 3, 4, 5])).copyWithin(0, -2, -Infinity),
- N([1, 2, 3, 4, 5])
+ new TA([1, 2, 3, 4, 5]).copyWithin(0, -2, -Infinity),
+ [1, 2, 3, 4, 5]
),
'[1, 2, 3, 4, 5].copyWithin(0, -2, -Infinity) -> [1, 2, 3, 4, 5]'
);
assert(
compareArray(
- new TA(N([0, 1, 2, 3])).copyWithin(0, -9, -10),
- N([0, 1, 2, 3])
+ new TA([0, 1, 2, 3]).copyWithin(0, -9, -10),
+ [0, 1, 2, 3]
),
'[0, 1, 2, 3].copyWithin(0, -9, -10) -> [0, 1, 2, 3]'
);
assert(
compareArray(
- new TA(N([1, 2, 3, 4, 5])).copyWithin(0, -9, -Infinity),
- N([1, 2, 3, 4, 5])
+ new TA([1, 2, 3, 4, 5]).copyWithin(0, -9, -Infinity),
+ [1, 2, 3, 4, 5]
),
'[1, 2, 3, 4, 5].copyWithin(0, -9, -Infinity) -> [1, 2, 3, 4, 5]'
);
assert(
compareArray(
- new TA(N([0, 1, 2, 3])).copyWithin(-3, -2, -10),
- N([0, 1, 2, 3])
+ new TA([0, 1, 2, 3]).copyWithin(-3, -2, -10),
+ [0, 1, 2, 3]
),
'[0, 1, 2, 3].copyWithin(-3, -2, -10) -> [0, 1, 2, 3]'
);
assert(
compareArray(
- new TA(N([1, 2, 3, 4, 5])).copyWithin(-3, -2, -Infinity),
- N([1, 2, 3, 4, 5])
+ new TA([1, 2, 3, 4, 5]).copyWithin(-3, -2, -Infinity),
+ [1, 2, 3, 4, 5]
),
'[1, 2, 3, 4, 5].copyWithin(-3, -2, -Infinity) -> [1, 2, 3, 4, 5]'
);
assert(
compareArray(
- new TA(N([0, 1, 2, 3])).copyWithin(-7, -8, -9),
- N([0, 1, 2, 3])
+ new TA([0, 1, 2, 3]).copyWithin(-7, -8, -9),
+ [0, 1, 2, 3]
),
'[0, 1, 2, 3].copyWithin(-7, -8, -9) -> [0, 1, 2, 3]'
);
assert(
compareArray(
- new TA(N([1, 2, 3, 4, 5])).copyWithin(-7, -8, -Infinity),
- N([1, 2, 3, 4, 5])
+ new TA([1, 2, 3, 4, 5]).copyWithin(-7, -8, -Infinity),
+ [1, 2, 3, 4, 5]
),
'[1, 2, 3, 4, 5].copyWithin(-7, -8, -Infinity) -> [1, 2, 3, 4, 5]'
);