Fix unittests when OmahaEvent fails.
The test was expecting the crashing callback to be pending, which now
no longer exists.
Bug: None
TEST=FEATURES=test emerge-link update_engine
Change-Id: I568647d831035ee639bed626ed92de3b69277858
diff --git a/omaha_request_action_unittest.cc b/omaha_request_action_unittest.cc
index 3f455f3..084d3aa 100644
--- a/omaha_request_action_unittest.cc
+++ b/omaha_request_action_unittest.cc
@@ -391,10 +391,7 @@
loop.PostTask(base::Bind([&processor] { processor.StartProcessing(); }));
loop.Run();
-
- // This test should schedule a callback to notify the crash reporter if
- // the passed event is an error.
- EXPECT_EQ(event->result == OmahaEvent::kResultError, loop.PendingTasks());
+ EXPECT_FALSE(loop.PendingTasks());
if (out_post_data)
*out_post_data = fetcher->post_data();