Index: net/url_request/url_request_job_unittest.cc |
diff --git a/net/url_request/url_request_job_unittest.cc b/net/url_request/url_request_job_unittest.cc |
index 9a0e4d7739c781400791509f018a50093572c868..29fd7e94fe537366899511ac8e2b1f9313b4adf9 100644 |
--- a/net/url_request/url_request_job_unittest.cc |
+++ b/net/url_request/url_request_job_unittest.cc |
@@ -516,8 +516,7 @@ TEST(URLRequestJob, InvalidContentGZipTransaction) { |
// so should be false. |
EXPECT_FALSE(d.request_failed()); |
EXPECT_EQ(200, req->GetResponseCode()); |
- EXPECT_FALSE(req->status().is_success()); |
- EXPECT_THAT(req->status().error(), IsError(ERR_CONTENT_DECODING_FAILED)); |
+ EXPECT_EQ(ERR_CONTENT_DECODING_FAILED, d.request_status()); |
EXPECT_TRUE(d.data_received().empty()); |
EXPECT_FALSE(network_layer.done_reading_called()); |