Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! src: use correct outer Context’s microtask queue
  • Loading branch information
addaleax committed Dec 11, 2020
commit bde7245ebcabd11402b1af564288f4ea02a5bd0d
3 changes: 1 addition & 2 deletions test/cctest/test_environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,7 @@ TEST_F(EnvironmentTest, NestedMicrotaskQueue) {
"require('vm').runInNewContext("
" 'Promise.resolve().then(() => mustCall(1 << 2))',"
" { mustCall }"
");"
).ToLocalChecked();
");").ToLocalChecked();
EXPECT_EQ(callback_calls, 1 << 1);
isolate_->PerformMicrotaskCheckpoint();
EXPECT_EQ(callback_calls, 1 << 1);
Expand Down