Index: url/url_parse_unittest.cc |
diff --git a/url/url_parse_unittest.cc b/url/url_parse_unittest.cc |
index a8b7f8541ef1138ac8a02b6671c35e4a50d2af62..71d95b656950db009366845fe3399f0e6818fd0d 100644 |
--- a/url/url_parse_unittest.cc |
+++ b/url/url_parse_unittest.cc |
@@ -505,8 +505,13 @@ TEST(URLParser, ExtractFileName) { |
{"http://www.google.com/foo/bar.html#ref", "bar.html"}, |
{"http://www.google.com/search/;param", ""}, |
{"http://www.google.com/foo/bar.html;param#ref", "bar.html"}, |
- {"http://www.google.com/foo/bar.html;foo;param#ref", "bar.html;foo"}, |
+ {"http://www.google.com/foo/bar.html;foo;param#ref", "bar.html"}, |
{"http://www.google.com/foo/bar.html?query#ref", "bar.html"}, |
+ {"http://www.google.com/foo;/bar.html", "bar.html"}, |
+ {"http://www.google.com/foo;/", ""}, |
+ {"http://www.google.com/foo;", "foo"}, |
+ {"http://www.google.com/;", ""}, |
+ {"http://www.google.com/foo;bar;html", "foo"}, |
}; |
for (size_t i = 0; i < ARRAYSIZE(file_cases); i++) { |