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

Unified Diff: url/url_parse_unittest.cc

Issue 23526048: Support URL fragment resolution againt non-hierarchical schemes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 3 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
Index: url/url_parse_unittest.cc
diff --git a/url/url_parse_unittest.cc b/url/url_parse_unittest.cc
index a65ff858b460149fd5dba2271991c130b78a3a69..ee6c28e62d5122e9139dab2d890a2ec2eda787ce 100644
--- a/url/url_parse_unittest.cc
+++ b/url/url_parse_unittest.cc
@@ -359,15 +359,13 @@ TEST(URLParser, PathURL) {
url_parse::ParsePathURL(url, static_cast<int>(strlen(url)), &parsed);
EXPECT_TRUE(ComponentMatches(url, path_cases[i].scheme, parsed.scheme));
- EXPECT_TRUE(ComponentMatches(url, path_cases[i].path, parsed.path));
+ EXPECT_TRUE(ComponentMatches(url, path_cases[i].path, parsed.Content()));
// The remaining components are never used for path urls.
ExpectInvalidComponent(parsed.username);
ExpectInvalidComponent(parsed.password);
ExpectInvalidComponent(parsed.host);
ExpectInvalidComponent(parsed.port);
- ExpectInvalidComponent(parsed.query);
- ExpectInvalidComponent(parsed.ref);
}
}

Powered by Google App Engine
This is Rietveld 408576698