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');