Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Unified Diff: chrome/common/extensions/extension_l10n_util_unittest.cc

Issue 10035042: Rewrite base::JSONReader to be 35-40% faster, depending on the input string. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix Windows, address comments Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_l10n_util_unittest.cc
diff --git a/chrome/common/extensions/extension_l10n_util_unittest.cc b/chrome/common/extensions/extension_l10n_util_unittest.cc
index 99b67de58281e9fc89d684d31671d34e872ab405..182875e8dc8dd2303aac584aec9ab2b8158f6c25 100644
--- a/chrome/common/extensions/extension_l10n_util_unittest.cc
+++ b/chrome/common/extensions/extension_l10n_util_unittest.cc
@@ -210,11 +210,11 @@ TEST(ExtensionL10nUtil, LoadMessageCatalogsBadJSONFormat) {
valid_locales.insert("en_US");
std::string error;
EXPECT_TRUE(NULL == extension_l10n_util::LoadMessageCatalogs(src_path,
- "en_US",
- "sr",
- valid_locales,
- &error));
- EXPECT_EQ("Line: 1, column: 10, Syntax error.", error);
+ "en_US",
+ "sr",
+ valid_locales,
+ &error));
+ EXPECT_EQ("Line: 1, column: 10, Unexpected token.", error);
}
TEST(ExtensionL10nUtil, LoadMessageCatalogsDuplicateKeys) {
« no previous file with comments | « chrome/common/extensions/api/extension_api.cc ('k') | chrome/common/extensions/extension_unpacker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698