summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/BigInt/prototype
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/BigInt/prototype')
-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
3 files changed, 3 insertions, 3 deletions
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);