Index: net/http/http_network_layer_unittest.cc |
diff --git a/net/http/http_network_layer_unittest.cc b/net/http/http_network_layer_unittest.cc |
index c49d5ec00e9f04d22f18822c8db6a2b85a745b97..9128cdd3da87986fb716c65ed757404437abd595 100644 |
--- a/net/http/http_network_layer_unittest.cc |
+++ b/net/http/http_network_layer_unittest.cc |
@@ -395,9 +395,8 @@ TEST_F(HttpNetworkLayerTest, NetworkUnVerified) { |
rv = trans->Start(&request_info, callback.callback(), BoundNetLog()); |
ASSERT_EQ(ERR_CONNECTION_RESET, callback.GetResult(rv)); |
- // If the response info is null, that means that any consumer won't |
- // see the network accessed bit set. |
- EXPECT_EQ(NULL, trans->GetResponseInfo()); |
+ // network_accessed is true; the HTTP stack did try to make a connection. |
+ EXPECT_TRUE(trans->GetResponseInfo()->network_accessed); |
} |
} // namespace |