mirror of https://github.com/tc39/test262.git
Eliminate false positives: Promise.prototype.finally
This commit is contained in:
parent
628faa5e06
commit
6d2288fe79
|
@ -8,6 +8,8 @@ esid: sec-promise.prototype.finally
|
|||
features: [Promise.prototype.finally]
|
||||
---*/
|
||||
|
||||
assert.sameValue(typeof Promise.prototype.finally, 'function');
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
Promise.prototype.finally.call(undefined);
|
||||
}, 'undefined');
|
||||
|
|
|
@ -8,6 +8,7 @@ description: >
|
|||
esid: sec-promise.prototype.finally
|
||||
features: [Symbol, Promise.prototype.finally]
|
||||
---*/
|
||||
assert.sameValue(typeof Promise.prototype.finally, 'function');
|
||||
|
||||
var symbol = Symbol();
|
||||
|
||||
|
|
Loading…
Reference in New Issue