summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/includes/return-abrupt-tointeger-fromindex.js
diff options
context:
space:
mode:
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);
});
});