summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/es8/async-destructuring.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/es8/async-destructuring.js')
-rw-r--r--deps/v8/test/mjsunit/es8/async-destructuring.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/es8/async-destructuring.js b/deps/v8/test/mjsunit/es8/async-destructuring.js
index 1fbac5a072..d5e90eb057 100644
--- a/deps/v8/test/mjsunit/es8/async-destructuring.js
+++ b/deps/v8/test/mjsunit/es8/async-destructuring.js
@@ -21,7 +21,7 @@ function assertThrowsAsync(run, errorType, message) {
assertFalse(hadValue || hadError);
- %RunMicrotasks();
+ %PerformMicrotaskCheckpoint();
if (!hadError) {
throw new MjsUnitAssertionError(
@@ -55,7 +55,7 @@ function assertEqualsAsync(expected, run, msg) {
assertFalse(hadValue || hadError);
- %RunMicrotasks();
+ %PerformMicrotaskCheckpoint();
if (hadError) throw actual;
@@ -77,7 +77,7 @@ function assertEqualsAsync(expected, run, msg) {
assertEquals(1, y);
assertEquals(1, z);
assertEquals(0, w);
- %RunMicrotasks();
+ %PerformMicrotaskCheckpoint();
assertEquals(1, y);
assertEquals(1, z);
assertEquals(1, w);