diff options
Diffstat (limited to 'test/built-ins/TypedArrays/ctors-bigint/no-args')
7 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/TypedArrays/ctors-bigint/no-args/custom-proto-access-throws.js b/test/built-ins/TypedArrays/ctors-bigint/no-args/custom-proto-access-throws.js index 20325c97c..03987c5da 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/no-args/custom-proto-access-throws.js +++ b/test/built-ins/TypedArrays/ctors-bigint/no-args/custom-proto-access-throws.js @@ -36,7 +36,7 @@ Object.defineProperty(newTarget, "prototype", { } }); -testWithTypedArrayConstructors(function(TA) { +testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(Test262Error, function() { Reflect.construct(TA, [], newTarget); }); diff --git a/test/built-ins/TypedArrays/ctors-bigint/no-args/new-instance-extensibility.js b/test/built-ins/TypedArrays/ctors-bigint/no-args/new-instance-extensibility.js index 6fe9d4757..bc22f47ea 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/no-args/new-instance-extensibility.js +++ b/test/built-ins/TypedArrays/ctors-bigint/no-args/new-instance-extensibility.js @@ -31,7 +31,7 @@ includes: [testBigIntTypedArray.js] features: [BigInt, TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA) { +testWithBigIntTypedArrayConstructors(function(TA) { var sample = new TA(); assert(Object.isExtensible(sample)); diff --git a/test/built-ins/TypedArrays/ctors-bigint/no-args/proto-from-ctor-realm.js b/test/built-ins/TypedArrays/ctors-bigint/no-args/proto-from-ctor-realm.js index 80460f1d4..a05f15395 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/no-args/proto-from-ctor-realm.js +++ b/test/built-ins/TypedArrays/ctors-bigint/no-args/proto-from-ctor-realm.js @@ -29,7 +29,7 @@ var other = $262.createRealm().global; var C = new other.Function(); C.prototype = null; -testWithTypedArrayConstructors(function(TA) { +testWithBigIntTypedArrayConstructors(function(TA) { var ta = Reflect.construct(TA, [], C); assert.sameValue(Object.getPrototypeOf(ta), other[TA.name].prototype); diff --git a/test/built-ins/TypedArrays/ctors-bigint/no-args/returns-object.js b/test/built-ins/TypedArrays/ctors-bigint/no-args/returns-object.js index 4751a27b1..01a6d57ca 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/no-args/returns-object.js +++ b/test/built-ins/TypedArrays/ctors-bigint/no-args/returns-object.js @@ -23,7 +23,7 @@ includes: [testBigIntTypedArray.js] features: [BigInt, TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA) { +testWithBigIntTypedArrayConstructors(function(TA) { var typedArray = new TA(); assert.sameValue(typedArray.length, 0); diff --git a/test/built-ins/TypedArrays/ctors-bigint/no-args/undefined-newtarget-throws.js b/test/built-ins/TypedArrays/ctors-bigint/no-args/undefined-newtarget-throws.js index c26e881c8..15d70a0a6 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/no-args/undefined-newtarget-throws.js +++ b/test/built-ins/TypedArrays/ctors-bigint/no-args/undefined-newtarget-throws.js @@ -16,7 +16,7 @@ includes: [testBigIntTypedArray.js] features: [BigInt, TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA) { +testWithBigIntTypedArrayConstructors(function(TA) { assert.throws(TypeError, function() { TA(); }); diff --git a/test/built-ins/TypedArrays/ctors-bigint/no-args/use-custom-proto-if-object.js b/test/built-ins/TypedArrays/ctors-bigint/no-args/use-custom-proto-if-object.js index 9d44c6125..27e562691 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/no-args/use-custom-proto-if-object.js +++ b/test/built-ins/TypedArrays/ctors-bigint/no-args/use-custom-proto-if-object.js @@ -36,7 +36,7 @@ function newTarget() {} var proto = {}; newTarget.prototype = proto; -testWithTypedArrayConstructors(function(TA) { +testWithBigIntTypedArrayConstructors(function(TA) { var ta = Reflect.construct(TA, [], newTarget); assert.sameValue(ta.constructor, Object); diff --git a/test/built-ins/TypedArrays/ctors-bigint/no-args/use-default-proto-if-custom-proto-is-not-object.js b/test/built-ins/TypedArrays/ctors-bigint/no-args/use-default-proto-if-custom-proto-is-not-object.js index 339a4a757..48e8e3004 100644 --- a/test/built-ins/TypedArrays/ctors-bigint/no-args/use-default-proto-if-custom-proto-is-not-object.js +++ b/test/built-ins/TypedArrays/ctors-bigint/no-args/use-default-proto-if-custom-proto-is-not-object.js @@ -35,7 +35,7 @@ features: [BigInt, TypedArray] function newTarget() {} newTarget.prototype = null; -testWithTypedArrayConstructors(function(TA) { +testWithBigIntTypedArrayConstructors(function(TA) { var ta = Reflect.construct(TA, [], newTarget); assert.sameValue(ta.constructor, TA); |