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