diff options
Diffstat (limited to 'tests/test_unicode.cpp')
-rw-r--r-- | tests/test_unicode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_unicode.cpp b/tests/test_unicode.cpp index e01e031..c1a5533 100644 --- a/tests/test_unicode.cpp +++ b/tests/test_unicode.cpp @@ -34,7 +34,7 @@ TEST(as_wide_valid_astral) } else { - CHECK(b4.size() == 5 && b4[0] == 0xda1d && b4[1] == 0xde24 && b4[2] == L' ' && b4[3] == 0xdbc0 && b4[4] == 0xdfff); + CHECK(b4.size() == 5 && b4[0] == wchar_cast(0xda1d) && b4[1] == wchar_cast(0xde24) && b4[2] == L' ' && b4[3] == wchar_cast(0xdbc0) && b4[4] == wchar_cast(0xdfff)); } } |