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
Next Next commit
[squash] fix the repost count in the new test.
  • Loading branch information
ulan committed Apr 16, 2018
commit c4354012708843ff722425936c62747ef5d12b5b
2 changes: 1 addition & 1 deletion test/cctest/test_platform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ TEST_F(PlatformTest, SkipNewTasksInFlushForegroundTasks) {
Env env {handle_scope, argv};
int run_count = 0;
platform->CallOnForegroundThread(
isolate_, new RepostingTask(3, &run_count, isolate_, platform.get()));
isolate_, new RepostingTask(2, &run_count, isolate_, platform.get()));
platform->FlushForegroundTasks(isolate_);
EXPECT_EQ(1, run_count);
platform->FlushForegroundTasks(isolate_);
Expand Down