summaryrefslogtreecommitdiffstats
path: root/net/http/http_chunked_decoder_unittest.cc
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-18 23:01:31 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-18 23:01:31 +0000
commit95ca0dbd7c9792b7390d4577e94f3b4c55929a5b (patch)
tree16b35ffafb5019f41b4939bf8f6a153f219d2592 /net/http/http_chunked_decoder_unittest.cc
parentd0d98329ebf165472c5142765fbe441d98f980af (diff)
downloadchromium_src-95ca0dbd7c9792b7390d4577e94f3b4c55929a5b.zip
chromium_src-95ca0dbd7c9792b7390d4577e94f3b4c55929a5b.tar.gz
chromium_src-95ca0dbd7c9792b7390d4577e94f3b4c55929a5b.tar.bz2
change error value
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_chunked_decoder_unittest.cc')
-rw-r--r--net/http/http_chunked_decoder_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_chunked_decoder_unittest.cc b/net/http/http_chunked_decoder_unittest.cc
index 1c44b98..3773fef 100644
--- a/net/http/http_chunked_decoder_unittest.cc
+++ b/net/http/http_chunked_decoder_unittest.cc
@@ -65,7 +65,7 @@ void RunTestUntilFailure(const char* inputs[], size_t num_inputs, size_t fail_in
std::string input = inputs[i];
int n = decoder.FilterBuf(&input[0], static_cast<int>(input.size()));
if (n < 0) {
- EXPECT_EQ(net::ERR_BAD_CHUNKED_ENCODING, n);
+ EXPECT_EQ(net::ERR_INVALID_CHUNKED_ENCODING, n);
EXPECT_EQ(fail_index, i);
return;
}