summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_basic_wstring_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/fx_basic_wstring_unittest.cpp')
-rw-r--r--core/fxcrt/fx_basic_wstring_unittest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/fx_basic_wstring_unittest.cpp b/core/fxcrt/fx_basic_wstring_unittest.cpp
index ceb4616b8a..c5151709e0 100644
--- a/core/fxcrt/fx_basic_wstring_unittest.cpp
+++ b/core/fxcrt/fx_basic_wstring_unittest.cpp
@@ -890,7 +890,7 @@ TEST(fxcrt, WideStringFormatWidth) {
{
CFX_WideString str;
str.Format(L"%1048576d", 1);
- EXPECT_EQ(L"Bad width", str);
+ EXPECT_EQ(L"", str);
}
}
@@ -928,7 +928,7 @@ TEST(fxcrt, WideStringFormatPrecision) {
{
CFX_WideString str;
str.Format(L"%.1048576f", 1.2);
- EXPECT_EQ(L"Bad precision", str);
+ EXPECT_EQ(L"", str);
}
}