diff options
author | Leo Balter <leonardo.balter@gmail.com> | 2017-10-03 16:51:07 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2017-10-03 16:51:07 -0400 |
commit | 9737a5ff73c487bd5b70850bc143f2e3c3207318 (patch) | |
tree | 58470b13216699d1cd5814ba1452e5fa3ecc8eae /harness | |
parent | ba891c753c5475460ec8a0ed53973e158df93ca0 (diff) | |
download | qtdeclarative-testsuites-9737a5ff73c487bd5b70850bc143f2e3c3207318.tar.gz |
Improve tests for BigInt.prototype.valueOf (#1256)
* Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
Diffstat (limited to 'harness')
-rw-r--r-- | harness/typeCoercion.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/harness/typeCoercion.js b/harness/typeCoercion.js index 3950d4b2c..ed03805d7 100644 --- a/harness/typeCoercion.js +++ b/harness/typeCoercion.js @@ -407,19 +407,3 @@ function testNotCoercibleToBigInt(test) { testStringValue("0xg"); testStringValue("1n"); } - -function testCoercibleToBigIntThisValue(value, test) { - test(value); - test(Object(value)); -} - -function testNotCoercibleToBigIntThisValue(test) { - test(undefined); - test(null); - test(true); - test(false); - test(""); - test(Symbol("")); - test(0); - test({}); -} |