diff --git a/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js b/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js index 686c020080cb40feb5b5a2b039e3da12f06401de..3882f1c78e8619b508a46b5b3b70aed348b51dd9 100644 --- a/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js +++ b/test/built-ins/TypedArrayConstructors/ctors-bigint/typedarray-arg/other-ctor-buffer-ctor-access-throws.js @@ -26,7 +26,7 @@ features: [BigInt, TypedArray] ---*/ testWithBigIntTypedArrayConstructors(function(TA) { - var OtherCtor = TA === Int8Array ? Int16Array : Int8Array; + var OtherCtor = TA === BigInt64Array ? BigUint64Array : BigInt64Array; var sample = new OtherCtor(); Object.defineProperty(sample.buffer, "constructor", {