diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/set/array-arg-return-abrupt-from-src-length.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/set/array-arg-return-abrupt-from-src-length.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArray/prototype/set/array-arg-return-abrupt-from-src-length.js b/test/built-ins/TypedArray/prototype/set/array-arg-return-abrupt-from-src-length.js index bac8f5b74..8252ebbef 100644 --- a/test/built-ins/TypedArray/prototype/set/array-arg-return-abrupt-from-src-length.js +++ b/test/built-ins/TypedArray/prototype/set/array-arg-return-abrupt-from-src-length.js @@ -33,8 +33,8 @@ var obj2 = { } }; -testWithTypedArrayConstructors(function(TA, N) { - var sample = new TA(N([1, 2, 3])); +testWithTypedArrayConstructors(function(TA) { + var sample = new TA([1, 2, 3]); assert.throws(Test262Error, function() { sample.set(obj1); |