mirror of https://github.com/tc39/test262.git
Promise.any: expected rejection shouldn't end with error message.
This commit is contained in:
parent
55b22d8d9f
commit
47b3858978
|
@ -10,6 +10,7 @@ features: [Promise.any]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
Promise.any([])
|
Promise.any([])
|
||||||
.then(function() {
|
.then(
|
||||||
$DONE('The promise should not be fulfilled.');
|
() => $DONE('The promise should be rejected, but was resolved'),
|
||||||
}, $DONE);
|
() => $DONE()
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in New Issue