diff options
author | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 14:33:06 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 16:45:10 -0500 |
commit | c6cd53594089d5ef80da752b7875b1cd01d73540 (patch) | |
tree | 47ea58eea2b4813bfa779fb015f289492f3d282b /test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js | |
parent | 3325e2a516a38936686fb0163b8f8a5292f8256e (diff) | |
download | qtdeclarative-testsuites-c6cd53594089d5ef80da752b7875b1cd01d73540.tar.gz |
Last cases of convertToBigInt
Diffstat (limited to 'test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js index c3588c70f..99772306f 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/return-result.js @@ -33,10 +33,8 @@ features: [BigInt, TypedArray] var separator = ["", ""].toLocaleString(); -var arr = [42, 0, 43]; - testWithBigIntTypedArrayConstructors(function(TA) { - var sample = new TA(convertToBigInt(arr)); + var sample = new TA([42n, 0n, 43n]); var expected = sample[0].toLocaleString().toString() + separator + |