Index: net/url_request/url_request_unittest.cc |
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc |
index 2e51d6ac73a1871270e03c2926f2332ba8b5454d..e9ca993bafda859120b38954531c598c866c179a 100644 |
--- a/net/url_request/url_request_unittest.cc |
+++ b/net/url_request/url_request_unittest.cc |
@@ -4134,14 +4134,14 @@ TEST_F(URLRequestTestHTTP, |
context.CreateRequest(url, DEFAULT_PRIORITY, &d)); |
r->Start(); |
+ base::RunLoop().Run(); |
+ |
{ |
HttpRequestHeaders headers; |
EXPECT_TRUE(r->GetFullRequestHeaders(&headers)); |
- EXPECT_FALSE(headers.HasHeader("Authorization")); |
+ EXPECT_TRUE(headers.HasHeader("Authorization")); |
} |
- base::RunLoop().Run(); |
- |
EXPECT_EQ(OK, d.request_status()); |
EXPECT_EQ(200, r->GetResponseCode()); |
EXPECT_TRUE(d.auth_required_called()); |