summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-end.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/fill/return-abrupt-from-end.js')
-rw-r--r--test/built-ins/TypedArray/prototype/fill/return-abrupt-from-end.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-end.js b/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-end.js
index 7a90c2888..f50c840d7 100644
--- a/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-end.js
+++ b/test/built-ins/TypedArray/prototype/fill/return-abrupt-from-end.js
@@ -35,9 +35,9 @@ var end = {
}
};
-testWithTypedArrayConstructors(function(TA) {
+testWithTypedArrayConstructors(function(TA, N) {
var sample = new TA();
assert.throws(Test262Error, function() {
- sample.fill(1, 0, end);
+ sample.fill(N(1), 0, end);
});
});