From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- .../test262/built-ins/String/prototype/at/return-abrupt-from-this.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/src/tests/test262/built-ins/String/prototype/at/return-abrupt-from-this.js') 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); -- cgit v1.2.3