diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/i18n/rtl_unittest.cc | 12 | ||||
-rw-r--r-- | base/i18n/time_formatting_unittest.cc | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/base/i18n/rtl_unittest.cc b/base/i18n/rtl_unittest.cc index 77e29c7..b1047c6 100644 --- a/base/i18n/rtl_unittest.cc +++ b/base/i18n/rtl_unittest.cc @@ -240,11 +240,11 @@ TEST_F(RTLTest, WrapString) { const wchar_t* cases[] = { L" . ", L"abc", - L"a"L"\x5d0\x5d1", - L"a"L"\x5d1"L"b", + L"a" L"\x5d0\x5d1", + L"a" L"\x5d1" L"b", L"\x5d0\x5d1\x5d2", - L"\x5d0\x5d1"L"a", - L"\x5d0"L"a"L"\x5d1", + L"\x5d0\x5d1" L"a", + L"\x5d0" L"a" L"\x5d1", }; const bool was_rtl = IsRTL(); @@ -288,8 +288,8 @@ TEST_F(RTLTest, GetDisplayStringInLTRDirectionality) { { L"test.html", false, true }, { L"\x05d0\x05d1\x05d2", true, true }, { L"\x05d0\x05d1\x05d2.txt", true, true }, - { L"\x05d0"L"abc", true, true }, - { L"\x05d0"L"abc.txt", true, true }, + { L"\x05d0" L"abc", true, true }, + { L"\x05d0" L"abc.txt", true, true }, { L"abc\x05d0\x05d1", false, true }, { L"abc\x05d0\x05d1.jpg", false, true }, }; diff --git a/base/i18n/time_formatting_unittest.cc b/base/i18n/time_formatting_unittest.cc index 5814258..3c4bf02 100644 --- a/base/i18n/time_formatting_unittest.cc +++ b/base/i18n/time_formatting_unittest.cc @@ -96,7 +96,7 @@ TEST(TimeFormattingTest, TimeFormatTimeOfDayJP) { Time time(Time::FromLocalExploded(kTestDateTimeExploded)); string16 clock24h(ASCIIToUTF16("15:42")); - string16 clock12h_pm(WideToUTF16(L"\x5348\x5f8c"L"3:42")); + string16 clock12h_pm(WideToUTF16(L"\x5348\x5f8c" L"3:42")); string16 clock12h(ASCIIToUTF16("3:42")); // The default is 24h clock. |