Index: base/file_path_unittest.cc |
diff --git a/base/file_path_unittest.cc b/base/file_path_unittest.cc |
index 194ee49e9b473b1ea42fb7c04506a94f72845ad2..ab2554365216348c0c605ecd5252fd382f262eea 100644 |
--- a/base/file_path_unittest.cc |
+++ b/base/file_path_unittest.cc |
@@ -753,6 +753,10 @@ TEST_F(FilePathTest, Extension2) { |
{ FPL("/foo.bar////"), FPL(".bar") }, |
{ FPL("/foo.bar/.."), FPL("") }, |
{ FPL("/foo.bar/..////"), FPL("") }, |
+ { FPL("/foo.1234.user.js"), FPL(".user.js") }, |
+ { FPL("foo.user.js"), FPL(".user.js") }, |
+ { FPL("/foo.1234.luser.js"), FPL(".js") }, |
+ { FPL("/user.js"), FPL(".js") }, |
}; |
for (unsigned int i = 0; i < arraysize(cases); ++i) { |
FilePath path(cases[i].input); |