diff options
Diffstat (limited to 'base/synchronization/waitable_event_unittest.cc')
-rw-r--r-- | base/synchronization/waitable_event_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/synchronization/waitable_event_unittest.cc b/base/synchronization/waitable_event_unittest.cc index 47e7ff7..ad86d14 100644 --- a/base/synchronization/waitable_event_unittest.cc +++ b/base/synchronization/waitable_event_unittest.cc @@ -23,7 +23,7 @@ TEST(WaitableEventTest, ManualBasics) { EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event.Signal(); - EXPECT_TRUE(event.Wait()); + event.Wait(); EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); } @@ -41,7 +41,7 @@ TEST(WaitableEventTest, AutoBasics) { EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event.Signal(); - EXPECT_TRUE(event.Wait()); + event.Wait(); EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); event.Signal(); |