Index: net/websockets/websocket_job_unittest.cc |
diff --git a/net/websockets/websocket_job_unittest.cc b/net/websockets/websocket_job_unittest.cc |
index 43d8509706bcde44a8ea3421ba1f48039913b975..342a2a3b653a9e1d5c8b6248f14460520a3a4394 100644 |
--- a/net/websockets/websocket_job_unittest.cc |
+++ b/net/websockets/websocket_job_unittest.cc |
@@ -263,7 +263,7 @@ TEST_F(WebSocketJobTest, SimpleHandshake) { |
bool sent = websocket_->SendData(kHandshakeRequestMessage, |
strlen(kHandshakeRequestMessage)); |
- EXPECT_EQ(true, sent); |
+ EXPECT_TRUE(sent); |
MessageLoop::current()->RunAllPending(); |
EXPECT_EQ(kHandshakeRequestMessage, socket_->sent_data()); |
EXPECT_EQ(WebSocketJob::CONNECTING, GetWebSocketJobState()); |
@@ -308,7 +308,7 @@ TEST_F(WebSocketJobTest, SlowHandshake) { |
bool sent = websocket_->SendData(kHandshakeRequestMessage, |
strlen(kHandshakeRequestMessage)); |
- EXPECT_EQ(true, sent); |
+ EXPECT_TRUE(sent); |
// We assume request is sent in one data chunk (from WebKit) |
// We don't support streaming request. |
MessageLoop::current()->RunAllPending(); |
@@ -390,7 +390,7 @@ TEST_F(WebSocketJobTest, HandshakeWithCookie) { |
bool sent = websocket_->SendData(kHandshakeRequestMessage, |
strlen(kHandshakeRequestMessage)); |
- EXPECT_EQ(true, sent); |
+ EXPECT_TRUE(sent); |
MessageLoop::current()->RunAllPending(); |
EXPECT_EQ(kHandshakeRequestExpected, socket_->sent_data()); |
EXPECT_EQ(WebSocketJob::CONNECTING, GetWebSocketJobState()); |
@@ -477,7 +477,7 @@ TEST_F(WebSocketJobTest, HandshakeWithCookieButNotAllowed) { |
bool sent = websocket_->SendData(kHandshakeRequestMessage, |
strlen(kHandshakeRequestMessage)); |
- EXPECT_EQ(true, sent); |
+ EXPECT_TRUE(sent); |
MessageLoop::current()->RunAllPending(); |
EXPECT_EQ(kHandshakeRequestExpected, socket_->sent_data()); |
EXPECT_EQ(WebSocketJob::CONNECTING, GetWebSocketJobState()); |