From 3d3df6ec02f150ae989ad471552271057a591737 Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Fri, 17 May 2024 21:48:07 +0900 Subject: [PATCH] Remove incorrect property access --- test/built-ins/Promise/try/ctx-ctor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/built-ins/Promise/try/ctx-ctor.js b/test/built-ins/Promise/try/ctx-ctor.js index 45a1391d48..06e1069347 100644 --- a/test/built-ins/Promise/try/ctx-ctor.js +++ b/test/built-ins/Promise/try/ctx-ctor.js @@ -20,8 +20,8 @@ class SubPromise extends Promise { var instance = Promise.try.call(SubPromise, function () {}); -assert.sameValue(instance.promise.constructor, SubPromise); -assert.sameValue(instance.promise instanceof SubPromise, true); +assert.sameValue(instance.constructor, SubPromise); +assert.sameValue(instance instanceof SubPromise, true); assert.sameValue(callCount, 1); assert.sameValue(typeof executor, 'function');