mirror of https://github.com/tc39/test262.git
Merge pull request #4085 from sosukesuzuki/fifx-promise-try-tests-2
Remove incorrect property access in `Promise.try` test
This commit is contained in:
commit
d9c67327ca
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue