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 7282a0e54070ce6c5c9e8ca5468d0b0cc56167d7..341f8700461343441e62fb95b24b4a20b0bd366d 100644 |
--- a/net/url_request/url_request_unittest.cc |
+++ b/net/url_request/url_request_unittest.cc |
@@ -4138,14 +4138,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()); |