| Index: core/fxcrt/fx_basic_wstring_unittest.cpp
|
| diff --git a/core/fxcrt/fx_basic_wstring_unittest.cpp b/core/fxcrt/fx_basic_wstring_unittest.cpp
|
| index 4b6f4a58007a23ed96c1be1bbb169fcbcbdc7a51..efd958d8a65aadad64e9e288fcded391a0d57349 100644
|
| --- a/core/fxcrt/fx_basic_wstring_unittest.cpp
|
| +++ b/core/fxcrt/fx_basic_wstring_unittest.cpp
|
| @@ -691,10 +691,10 @@ TEST(fxcrt, WideStringUTF16LE_Encode) {
|
| TEST(fxcrt, WideStringCOperatorSubscript) {
|
| // CFX_WideStringC includes the NUL terminator for non-empty strings.
|
| CFX_WideStringC abc(L"abc");
|
| - EXPECT_EQ(L'a', abc[0]);
|
| - EXPECT_EQ(L'b', abc[1]);
|
| - EXPECT_EQ(L'c', abc[2]);
|
| - EXPECT_EQ(L'\0', abc[3]);
|
| + EXPECT_EQ(L'a', abc.CharAt(0));
|
| + EXPECT_EQ(L'b', abc.CharAt(1));
|
| + EXPECT_EQ(L'c', abc.CharAt(2));
|
| + EXPECT_EQ(L'\0', abc.CharAt(3));
|
| }
|
|
|
| TEST(fxcrt, WideStringCOperatorLT) {
|
|
|