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

Unified Diff: chrome/browser/download/download_util_unittest.cc

Issue 5626002: Update sqlite to 3.7.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/third_party/sqlite/src
Patch Set: Update version in doc. Created 10 years 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
« no previous file with comments | « no previous file | third_party/sqlite/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_util_unittest.cc
diff --git a/chrome/browser/download/download_util_unittest.cc b/chrome/browser/download/download_util_unittest.cc
index 1a905b194b46b46298a41316d6271e557926f80b..209b26092234971a31874366ff362c366760bb55 100644
--- a/chrome/browser/download/download_util_unittest.cc
+++ b/chrome/browser/download/download_util_unittest.cc
@@ -436,7 +436,9 @@ TEST(DownloadUtilTest, GenerateFileName) {
// don't match our expectations.
std::string locale = setlocale(LC_CTYPE, NULL);
StringToLowerASCII(&locale);
- EXPECT_NE(std::string::npos, locale.find("utf-8"))
+ bool found = (locale.find("utf-8") != std::string::npos) ||
+ (locale.find("utf8") != std::string::npos);
+ EXPECT_TRUE(found)
Scott Hess - ex-Googler 2010/12/03 23:21:44 Don't include this change with the overall change.
<< "Your locale must be set to UTF-8 for this test to pass!";
#endif
« no previous file with comments | « no previous file | third_party/sqlite/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698