Index: base/waitable_event_watcher_unittest.cc |
=================================================================== |
--- base/waitable_event_watcher_unittest.cc (revision 27387) |
+++ base/waitable_event_watcher_unittest.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -38,7 +38,7 @@ |
WaitableEvent event(true, false); |
WaitableEventWatcher watcher; |
- EXPECT_EQ(NULL, watcher.GetWatchedEvent()); |
+ EXPECT_TRUE(watcher.GetWatchedEvent() == NULL); |
QuitDelegate delegate; |
watcher.StartWatching(&event, &delegate); |
@@ -48,7 +48,7 @@ |
MessageLoop::current()->Run(); |
- EXPECT_EQ(NULL, watcher.GetWatchedEvent()); |
+ EXPECT_TRUE(watcher.GetWatchedEvent() == NULL); |
} |
void RunTest_BasicCancel(MessageLoop::Type message_loop_type) { |