summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js')
-rw-r--r--js/src/tests/test262/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/tests/test262/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js b/js/src/tests/test262/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js
index c883015d19..900b901076 100644
--- a/js/src/tests/test262/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js
+++ b/js/src/tests/test262/built-ins/String/prototype/isWellFormed/return-abrupt-from-this.js
@@ -15,10 +15,10 @@ assert.sameValue(typeof String.prototype.isWellFormed, 'function');
assert.throws(TypeError, function () {
String.prototype.isWellFormed.call(undefined);
-}, '`String.prototype.isWellFormed.call(undefined)` throws TypeError');
+});
assert.throws(TypeError, function () {
String.prototype.isWellFormed.call(null);
-}, '`String.prototype.isWellFormed.call(null)` throws TypeError');
+});
reportCompare(0, 0);