summaryrefslogtreecommitdiff
path: root/core/fxcrt/widestring_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/widestring_unittest.cpp')
-rw-r--r--core/fxcrt/widestring_unittest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/widestring_unittest.cpp b/core/fxcrt/widestring_unittest.cpp
index 39337aa7a7..1673c8f069 100644
--- a/core/fxcrt/widestring_unittest.cpp
+++ b/core/fxcrt/widestring_unittest.cpp
@@ -1330,7 +1330,7 @@ TEST(WideString, FormatPrecision) {
}
TEST(WideString, FormatOutOfRangeChar) {
- WideString::Format(L"unsupported char '%c'", 0x00FF00FF);
+ EXPECT_NE(L"", WideString::Format(L"unsupported char '%c'", 0x00FF00FF));
}
TEST(WideString, Empty) {