diff options
author | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 13:57:39 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 16:45:10 -0500 |
commit | 3325e2a516a38936686fb0163b8f8a5292f8256e (patch) | |
tree | ede08c1460468c9a44647a5b0aa3261089bb65c4 /test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js | |
parent | 296657cd90023e89218016870bd972267b4cd33a (diff) | |
download | qtdeclarative-testsuites-3325e2a516a38936686fb0163b8f8a5292f8256e.tar.gz |
Minimize use of convertToBigInt
Diffstat (limited to 'test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js b/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js index 576a97a0e..dc2904754 100644 --- a/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js +++ b/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js @@ -20,15 +20,15 @@ testWithBigIntTypedArrayConstructors(function(TA) { var itor = typedArray.values(); var next = itor.next(); - assert.sameValue(next.value, convertToBigInt(0)); + assert.sameValue(next.value, 0n); assert.sameValue(next.done, false); next = itor.next(); - assert.sameValue(next.value, convertToBigInt(42)); + assert.sameValue(next.value, 42n); assert.sameValue(next.done, false); next = itor.next(); - assert.sameValue(next.value, convertToBigInt(64)); + assert.sameValue(next.value, 64n); assert.sameValue(next.done, false); next = itor.next(); |