| Index: trunk/src/net/dns/serial_worker_unittest.cc
|
| ===================================================================
|
| --- trunk/src/net/dns/serial_worker_unittest.cc (revision 212951)
|
| +++ trunk/src/net/dns/serial_worker_unittest.cc (working copy)
|
| @@ -141,7 +141,7 @@
|
| WaitForWork();
|
| RunUntilBreak("OnWorkFinished");
|
|
|
| - EXPECT_TRUE(message_loop_->IsIdleForTesting());
|
| + message_loop_->AssertIdle();
|
| }
|
|
|
| // Schedule two calls. OnWork checks if it is called serially.
|
| @@ -154,7 +154,7 @@
|
| RunUntilBreak("OnWorkFinished");
|
|
|
| // No more tasks should remain.
|
| - EXPECT_TRUE(message_loop_->IsIdleForTesting());
|
| + message_loop_->AssertIdle();
|
| }
|
|
|
| } // namespace
|
|
|