Fix invoke-resolve-get-error-close tests (#2210)

This commit is contained in:
Gus Caplan 2019-06-21 13:26:57 -05:00 committed by Leo Balter
parent 9d0072df3d
commit 61ccff550e
3 changed files with 3 additions and 3 deletions

View File

@ -54,4 +54,4 @@ Object.defineProperty(Promise, 'resolve', {
Promise.all(iter);
assert.sameValue(nextCount, 0);
assert.sameValue(returnCount, 0);
assert.sameValue(returnCount, 1);

View File

@ -45,4 +45,4 @@ Object.defineProperty(Promise, 'resolve', {
Promise.allSettled(iter);
assert.sameValue(nextCount, 0);
assert.sameValue(returnCount, 0);
assert.sameValue(returnCount, 1);

View File

@ -52,4 +52,4 @@ Object.defineProperty(Promise, 'resolve', {
Promise.race(iter);
assert.sameValue(nextCount, 0);
assert.sameValue(returnCount, 0);
assert.sameValue(returnCount, 1);