Index: extensions/browser/file_highlighter_unittest.cc |
diff --git a/extensions/browser/file_highlighter_unittest.cc b/extensions/browser/file_highlighter_unittest.cc |
index f419109577e0deffae99e862085101a15264a49a..e11d82849227f161b8b1a7df0b54e9ad290c0fe2 100644 |
--- a/extensions/browser/file_highlighter_unittest.cc |
+++ b/extensions/browser/file_highlighter_unittest.cc |
@@ -93,6 +93,11 @@ TEST(ManifestHighlighterUnitTest, ManifestHighlighterUnitTest) { |
ManifestHighlighter international_feature( |
kManifest, "international_key", std::string()); |
EXPECT_EQ(kInternationalFeature, international_feature.GetFeature()); |
+ |
+ // Empty manifest. Check that there is no crash. |
+ const char kEmptyManifest[] = ""; |
+ ManifestHighlighter no_feature(kEmptyManifest, std::string(), std::string()); |
+ EXPECT_EQ(std::string(), no_feature.GetFeature()); |
} |
TEST(SouceHighlighterUnitTest, SourceHighlighterUnitTest) { |