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/Promise/create-resolving-functions-reject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/tests/test262/built-ins/Promise/create-resolving-functions-reject.js') diff --git a/js/src/tests/test262/built-ins/Promise/create-resolving-functions-reject.js b/js/src/tests/test262/built-ins/Promise/create-resolving-functions-reject.js index 05297b7993..294b48491a 100644 --- a/js/src/tests/test262/built-ins/Promise/create-resolving-functions-reject.js +++ b/js/src/tests/test262/built-ins/Promise/create-resolving-functions-reject.js @@ -24,7 +24,7 @@ Promise.prototype.then = function(resolve, reject) { assert.sameValue(isConstructor(reject), false, 'isConstructor(reject) must return false'); assert.throws(TypeError, () => { new reject(); - }, '`new reject()` throws TypeError'); + }); assert.sameValue(reject.length, 1, 'The value of reject.length is 1'); assert.sameValue(reject.name, '', 'The value of reject.name is ""'); -- cgit v1.2.3