summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2018-02-15 17:51:52 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 17:51:52 -0500
commit857f1d429b939c6feef1951041b5c91c9f3a8b4a (patch)
treeb2c16184e39a20fd66f11f2fc517e8e592d6536e /test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js
parent77096157d10fcb6d72696456c5a9302ab29ba62a (diff)
downloadqtdeclarative-testsuites-857f1d429b939c6feef1951041b5c91c9f3a8b4a.tar.gz
fix bad fixings from Remove N
Diffstat (limited to 'test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js')
-rw-r--r--test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js b/test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js
index ca66ad48c..2a332b54f 100644
--- a/test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js
+++ b/test/built-ins/TypedArray/prototype/fill/fill-values-custom-start-and-end.js
@@ -34,9 +34,9 @@ features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
- assert(compareArray(new TA([0, 0, 0])).fill(8, 1, 2), [0, 8, 0]);
- assert(compareArray(new TA([0, 0, 0, 0, 0])).fill(8, -3, 4), [0, 0, 8, 8, 0]);
- assert(compareArray(new TA([0, 0, 0, 0, 0])).fill(8, -2, -1), [0, 0, 0, 8, 0]);
- assert(compareArray(new TA([0, 0, 0, 0, 0])).fill(8, -1, -3), [0, 0, 0, 0, 0]);
- assert(compareArray(new TA([0, 0, 0, 0, 0])).fill(8, 1, 3), [0, 8, 8, 0, 0]);
+ assert(compareArray(new TA([0, 0, 0]).fill(8, 1, 2), [0, 8, 0]));
+ assert(compareArray(new TA([0, 0, 0, 0, 0]).fill(8, -3, 4), [0, 0, 8, 8, 0]));
+ assert(compareArray(new TA([0, 0, 0, 0, 0]).fill(8, -2, -1), [0, 0, 0, 8, 0]));
+ assert(compareArray(new TA([0, 0, 0, 0, 0]).fill(8, -1, -3), [0, 0, 0, 0, 0]));
+ assert(compareArray(new TA([0, 0, 0, 0, 0]).fill(8, 1, 3), [0, 8, 8, 0, 0]));
});