diff options
Diffstat (limited to 'chromium/extensions/common/file_util_unittest.cc')
-rw-r--r-- | chromium/extensions/common/file_util_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/extensions/common/file_util_unittest.cc b/chromium/extensions/common/file_util_unittest.cc index 027af59223e..8726a472684 100644 --- a/chromium/extensions/common/file_util_unittest.cc +++ b/chromium/extensions/common/file_util_unittest.cc @@ -341,9 +341,9 @@ TEST_F(FileUtilTest, LoadExtensionGivesHelpfullErrorOnBadManifest) { install_dir, Manifest::UNPACKED, Extension::NO_FLAGS, &error)); ASSERT_TRUE(extension.get() == nullptr); ASSERT_FALSE(error.empty()); - ASSERT_EQ(manifest_errors::kManifestParseError + - std::string(" Line: 2, column: 16, Syntax error."), - error); + ASSERT_NE(std::string::npos, + error.find(manifest_errors::kManifestParseError + + std::string(" Line: 2, column: 16,"))); } TEST_F(FileUtilTest, ValidateThemeUTF8) { |