summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.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/includes/return-abrupt-tointeger-fromindex.js
parent3f3f2faa8e71eaa3f316635dc8fb3c3a0661b654 (diff)
downloadqtdeclarative-testsuites-098c69540ee57f94daf795b20e8a3e70ab986860.tar.gz
Remove N()
Diffstat (limited to 'test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.js')
-rw-r--r--test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.js b/test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.js
index 40a1f6dbc..b17b6e343 100644
--- a/test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.js
+++ b/test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.js
@@ -28,10 +28,10 @@ var fromIndex = {
}
};
-testWithTypedArrayConstructors(function(TA, N) {
- var sample = new TA(N([7]));
+testWithTypedArrayConstructors(function(TA) {
+ var sample = new TA([7]);
assert.throws(Test262Error, function() {
- sample.includes(N(7), fromIndex);
+ sample.includes(7, fromIndex);
});
});