Index: base/strings/sys_string_conversions_unittest.cc |
diff --git a/base/strings/sys_string_conversions_unittest.cc b/base/strings/sys_string_conversions_unittest.cc |
index 0cdd4281ecfd0143d10eeacb6f670f614d1d260c..90c4767e25df75a1167f81faf99b819d9e12a75b 100644 |
--- a/base/strings/sys_string_conversions_unittest.cc |
+++ b/base/strings/sys_string_conversions_unittest.cc |
@@ -76,7 +76,7 @@ TEST(SysStrings, SysUTF8ToWide) { |
TEST(SysStrings, SysWideToNativeMB) { |
#if !defined(SYSTEM_NATIVE_UTF8) |
- ScopedLocale locale("en_US.utf-8"); |
+ ScopedLocale locale("en_US.UTF-8"); |
#endif |
EXPECT_EQ("Hello, world", SysWideToNativeMB(L"Hello, world")); |
EXPECT_EQ("\xe4\xbd\xa0\xe5\xa5\xbd", SysWideToNativeMB(L"\x4f60\x597d")); |
@@ -108,7 +108,7 @@ TEST(SysStrings, SysWideToNativeMB) { |
// We assume the test is running in a UTF8 locale. |
TEST(SysStrings, SysNativeMBToWide) { |
#if !defined(SYSTEM_NATIVE_UTF8) |
- ScopedLocale locale("en_US.utf-8"); |
+ ScopedLocale locale("en_US.UTF-8"); |
#endif |
EXPECT_EQ(L"Hello, world", SysNativeMBToWide("Hello, world")); |
EXPECT_EQ(L"\x4f60\x597d", SysNativeMBToWide("\xe4\xbd\xa0\xe5\xa5\xbd")); |
@@ -164,7 +164,7 @@ static const wchar_t* const kConvertRoundtripCases[] = { |
TEST(SysStrings, SysNativeMBAndWide) { |
#if !defined(SYSTEM_NATIVE_UTF8) |
- ScopedLocale locale("en_US.utf-8"); |
+ ScopedLocale locale("en_US.UTF-8"); |
#endif |
for (size_t i = 0; i < arraysize(kConvertRoundtripCases); ++i) { |
std::wstring wide = kConvertRoundtripCases[i]; |