summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/BigInt
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/BigInt')
-rw-r--r--js/src/tests/test262/built-ins/BigInt/asIntN/not-a-constructor.js2
-rw-r--r--js/src/tests/test262/built-ins/BigInt/asUintN/not-a-constructor.js2
-rw-r--r--js/src/tests/test262/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js2
-rw-r--r--js/src/tests/test262/built-ins/BigInt/prototype/toString/not-a-constructor.js2
-rw-r--r--js/src/tests/test262/built-ins/BigInt/prototype/valueOf/not-a-constructor.js2
5 files changed, 5 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/BigInt/asIntN/not-a-constructor.js b/js/src/tests/test262/built-ins/BigInt/asIntN/not-a-constructor.js
index 7875347fcf..433e276878 100644
--- a/js/src/tests/test262/built-ins/BigInt/asIntN/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/BigInt/asIntN/not-a-constructor.js
@@ -23,6 +23,6 @@ assert.sameValue(isConstructor(BigInt.asIntN), false, 'isConstructor(BigInt.asIn
assert.throws(TypeError, () => {
new BigInt.asIntN(64, 1n);
-}, '`new BigInt.asIntN(64, 1n)` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/BigInt/asUintN/not-a-constructor.js b/js/src/tests/test262/built-ins/BigInt/asUintN/not-a-constructor.js
index e1208f5886..8e1bf945a0 100644
--- a/js/src/tests/test262/built-ins/BigInt/asUintN/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/BigInt/asUintN/not-a-constructor.js
@@ -23,6 +23,6 @@ assert.sameValue(isConstructor(BigInt.asUintN), false, 'isConstructor(BigInt.asU
assert.throws(TypeError, () => {
new BigInt.asUintN(64, 1n);
-}, '`new BigInt.asUintN(64, 1n)` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js b/js/src/tests/test262/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js
index e51206920a..0880f443eb 100644
--- a/js/src/tests/test262/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/BigInt/prototype/toLocaleString/not-a-constructor.js
@@ -28,6 +28,6 @@ assert.sameValue(
assert.throws(TypeError, () => {
let n = 1n;
new n.toLocaleString();
-}, '`let n = 1n; new n.toLocaleString()` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/BigInt/prototype/toString/not-a-constructor.js b/js/src/tests/test262/built-ins/BigInt/prototype/toString/not-a-constructor.js
index ffa6c1491c..82379998ef 100644
--- a/js/src/tests/test262/built-ins/BigInt/prototype/toString/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/BigInt/prototype/toString/not-a-constructor.js
@@ -28,6 +28,6 @@ assert.sameValue(
assert.throws(TypeError, () => {
let n = 1n;
new n.toString();
-}, '`let n = 1n; new n.toString()` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/BigInt/prototype/valueOf/not-a-constructor.js b/js/src/tests/test262/built-ins/BigInt/prototype/valueOf/not-a-constructor.js
index 1476cd46dd..2046584fda 100644
--- a/js/src/tests/test262/built-ins/BigInt/prototype/valueOf/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/BigInt/prototype/valueOf/not-a-constructor.js
@@ -28,6 +28,6 @@ assert.sameValue(
assert.throws(TypeError, () => {
let n = 1n;
new n.valueOf();
-}, '`let n = 1n; new n.valueOf()` throws TypeError');
+});
reportCompare(0, 0);