summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-27 17:45:25 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-27 17:45:25 -0500
commit4efdb83ae9c38c453b42bde8ffec685d4e920152 (patch)
tree3029e598349bbb1b17a21072d5e76c11040062dd /test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
parent27128070275f467aa62f74b515ec111ca902f997 (diff)
downloadqtdeclarative-testsuites-4efdb83ae9c38c453b42bde8ffec685d4e920152.tar.gz
Updates a portion of the BigInt tests that need work. Ref gh-1461 (#1462)
Diffstat (limited to 'test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js')
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
index 8b0206361..8b3933eed 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
@@ -25,11 +25,11 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.species, TypedArray]
---*/
-var sample1 = new Int8Array();
-var sample2 = new Int16Array();
+var sample1 = new BigInt64Array();
+var sample2 = new BigUint64Array();
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = TA === Int8Array ? sample2 : sample1;
+ var sample = TA === BigInt64Array ? sample2 : sample1;
var ctor = {};
sample.buffer.constructor = ctor;