Index: url/url_parse_unittest.cc |
diff --git a/url/url_parse_unittest.cc b/url/url_parse_unittest.cc |
index a8b7f8541ef1138ac8a02b6671c35e4a50d2af62..35b31548467e05c49c0132bc0d5260bfc6789bf3 100644 |
--- a/url/url_parse_unittest.cc |
+++ b/url/url_parse_unittest.cc |
@@ -507,6 +507,11 @@ TEST(URLParser, ExtractFileName) { |
{"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?query#ref", "bar.html"}, |
+ // Test cases added to verify Issue - 323156 |
brettw
2014/09/16 22:37:10
I don't think you need this comment. Can you add s
arun87.kumar
2014/09/17 11:39:12
Done.
|
+ {"http://www.google.com/foo;/bar.html", "bar.html"}, |
+ {"http://www.google.com/foo;/", ""}, |
+ {"http://www.google.com/foo;", "foo"}, |
+ {"http://www.google.com/;", ""}, |
}; |
for (size_t i = 0; i < ARRAYSIZE(file_cases); i++) { |