diff options
Diffstat (limited to 'content/browser/webui/web_ui_data_source_unittest.cc')
-rw-r--r-- | content/browser/webui/web_ui_data_source_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/webui/web_ui_data_source_unittest.cc b/content/browser/webui/web_ui_data_source_unittest.cc index 24d1d2b..bece8d0 100644 --- a/content/browser/webui/web_ui_data_source_unittest.cc +++ b/content/browser/webui/web_ui_data_source_unittest.cc @@ -141,7 +141,7 @@ TEST_F(WebUIDataSourceTest, NamedResource) { TEST_F(WebUIDataSourceTest, MimeType) { const char* html = "text/html"; const char* js = "application/javascript"; - EXPECT_EQ(GetMimeType(""), html); + EXPECT_EQ(GetMimeType(std::string()), html); EXPECT_EQ(GetMimeType("foo"), html); EXPECT_EQ(GetMimeType("foo.html"), html); EXPECT_EQ(GetMimeType(".js"), js); |