summaryrefslogtreecommitdiff
path: root/test/built-ins/BigInt/constructor-from-string-syntax-errors.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2017-12-01 11:16:43 -0800
committerLeo Balter <leonardo.balter@gmail.com>2017-12-01 14:16:43 -0500
commit8311965251953d4745aeb68c98fb71fab2eac1d0 (patch)
treee7b6edb96aca0f4a4eb16172095338e5f6bd676c /test/built-ins/BigInt/constructor-from-string-syntax-errors.js
parent3d258fd2901f721a8449bed537c53f5af405c1f0 (diff)
downloadqtdeclarative-testsuites-8311965251953d4745aeb68c98fb71fab2eac1d0.tar.gz
Fix copy-paste bugs in BigInt tests (#1361)
Diffstat (limited to 'test/built-ins/BigInt/constructor-from-string-syntax-errors.js')
-rw-r--r--test/built-ins/BigInt/constructor-from-string-syntax-errors.js29
1 files changed, 14 insertions, 15 deletions
diff --git a/test/built-ins/BigInt/constructor-from-string-syntax-errors.js b/test/built-ins/BigInt/constructor-from-string-syntax-errors.js
index 1ca102602..6bdd6f3cb 100644
--- a/test/built-ins/BigInt/constructor-from-string-syntax-errors.js
+++ b/test/built-ins/BigInt/constructor-from-string-syntax-errors.js
@@ -15,57 +15,56 @@ features: [BigInt]
assert.throws(SyntaxError, function() {
BigInt("10n");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("10x");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("10b");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("10.5");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("0b");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("-0x1");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("-0XFFab");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("0oa");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("000 12");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("0o");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("0x");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("00o");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("00b");
-}
+});
assert.throws(SyntaxError, function() {
BigInt("00x");
-}
-
+});