Index: components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc |
diff --git a/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc b/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc |
index 1938dd819acbc42c54806dcd93109ffe6eb16349..55e5b4b87a74ce81245b18326588c1b6dbd4d045 100644 |
--- a/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc |
+++ b/components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc |
@@ -22,8 +22,10 @@ class DomDistillerViewerSourceTest : public testing::Test { |
}; |
TEST_F(DomDistillerViewerSourceTest, TestMimeType) { |
- EXPECT_EQ("text/css", source_.get()->GetMimeType(kCssPath)); |
+ EXPECT_EQ("text/css", source_.get()->GetMimeType(kViewerCssPath)); |
EXPECT_EQ("text/html", source_.get()->GetMimeType("anythingelse")); |
+ EXPECT_EQ("text/javascript", source_.get()->GetMimeType(kViewerJsPath)); |
+ |
} |
} // namespace dom_distiller |