Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: net/http/http_cache_unittest.cc

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_unittest.cc
diff --git a/net/http/http_cache_unittest.cc b/net/http/http_cache_unittest.cc
index 3458402376cdfe19663cb59e177cc4720a5aa3c9..66349b61d3f17cf07d03399c0bab346671b54c04 100644
--- a/net/http/http_cache_unittest.cc
+++ b/net/http/http_cache_unittest.cc
@@ -3169,7 +3169,7 @@ TEST(HttpCache, SimpleHEAD_WithCachedRanges) {
RunTransactionTestWithResponse(cache.http_cache(), transaction, &headers);
EXPECT_NE(std::string::npos, headers.find("HTTP/1.1 200 OK\n"));
- EXPECT_EQ(std::string::npos, headers.find("Content-Length"));
+ EXPECT_NE(std::string::npos, headers.find("Content-Length: 80\n"));
EXPECT_EQ(std::string::npos, headers.find("Content-Range"));
EXPECT_EQ(1, cache.network_layer()->transaction_count());
EXPECT_EQ(1, cache.disk_cache()->open_count());
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698