Index: base/test/test_suite.cc |
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc |
index e281cff3da288f8f333f370a9f3a2fc6f668b7a4..2910466f3e99edbada8cdbef35386d5c3e87990e 100644 |
--- a/base/test/test_suite.cc |
+++ b/base/test/test_suite.cc |
@@ -338,7 +338,7 @@ void TestSuite::Initialize() { |
i18n::SetICUDefaultLocale("en_US"); |
#else |
std::string default_locale(uloc_getDefault()); |
- if (EndsWith(default_locale, "POSIX", false)) |
+ if (EndsWith(default_locale, "POSIX", CompareCase::INSENSITIVE_ASCII)) |
i18n::SetICUDefaultLocale("en_US"); |
#endif |
#endif |