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 33fe408afcca2a89f3bd4e68749cee3b92e4c1ac..00387ef1d2cfced68b9b36069e26286fb7cc8ed4 100644 |
--- a/net/url_request/url_request_unittest.cc |
+++ b/net/url_request/url_request_unittest.cc |
@@ -879,7 +879,7 @@ TEST_F(URLRequestTestHTTP, GetZippedTest) { |
// L & M are larger than the data sent, and show an error. |
// S has too little data, but we seem to accept it. |
const bool test_expect_success[num_tests] = |
- { true, true, false, false, true }; |
+ { true, false, false, false, true }; |
for (int i = 0; i < num_tests ; i++) { |
TestDelegate d; |
@@ -911,7 +911,7 @@ TEST_F(URLRequestTestHTTP, GetZippedTest) { |
<< " Parameter = \"" << test_file << "\""; |
} else { |
EXPECT_EQ(URLRequestStatus::FAILED, r.status().status()); |
- EXPECT_EQ(-100, r.status().error()) |
+ EXPECT_EQ(ERR_CONTENT_LENGTH_MISMATCH, r.status().error()) |
<< " Parameter = \"" << test_file << "\""; |
} |
} |