diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js')
-rw-r--r-- | js/src/tests/test262/built-ins/String/prototype/toWellFormed/return-abrupt-from-this.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |