summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/String/prototype/toWellFormed
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/String/prototype/toWellFormed')
-rw-r--r--js/src/tests/test262/built-ins/String/prototype/toWellFormed/not-a-constructor.js2
-rw-r--r--js/src/tests/test262/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/js/src/tests/test262/built-ins/String/prototype/toWellFormed/not-a-constructor.js b/js/src/tests/test262/built-ins/String/prototype/toWellFormed/not-a-constructor.js
index ccd3bc63a7..b83a6022e7 100644
--- a/js/src/tests/test262/built-ins/String/prototype/toWellFormed/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/String/prototype/toWellFormed/not-a-constructor.js
@@ -29,6 +29,6 @@ assert.sameValue(
assert.throws(TypeError, function () {
new String.prototype.toWellFormed();
-}, '`new String.prototype.toWellFormed()` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js b/js/src/tests/test262/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js
index f39c858f6f..0ebf8a227f 100644
--- a/js/src/tests/test262/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js
+++ b/js/src/tests/test262/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js
@@ -15,10 +15,10 @@ assert.sameValue(typeof String.prototype.toWellFormed, 'function');
assert.throws(TypeError, function () {
String.prototype.toWellFormed.call(undefined);
-}, '`String.prototype.toWellFormed.call(undefined)` throws TypeError');
+});
assert.throws(TypeError, function () {
String.prototype.toWellFormed.call(null);
-}, '`String.prototype.toWellFormed.call(null)` throws TypeError');
+});
reportCompare(0, 0);