summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-12-10 21:15:40 +0100
committerSébastien Helleu <flashcode@flashtux.org>2014-12-10 21:15:40 +0100
commit7818e0896424e00f89a9a72eb7fd548f12a8fd49 (patch)
treeb65fe4820992a7eedeab3be783e2a66ccb230847 /tests/unit
parent1f1611c9163554ad34e7b26dc933732c1ec7089a (diff)
downloadweechat-7818e0896424e00f89a9a72eb7fd548f12a8fd49.zip
tests: fix compilation of tests with clang (closes #275)
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/core/test-string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/core/test-string.cpp b/tests/unit/core/test-string.cpp
index a22599b29..67bb99267 100644
--- a/tests/unit/core/test-string.cpp
+++ b/tests/unit/core/test-string.cpp
@@ -405,8 +405,8 @@ TEST(String, ConvertEscapedChars)
string_convert_escaped_chars ("\\0123")); /* invalid */
WEE_TEST_STR("\x41", string_convert_escaped_chars ("\\x41"));
WEE_TEST_STR("\x04z", string_convert_escaped_chars ("\\x4z"));
- WEE_TEST_STR("\u0012zz", string_convert_escaped_chars ("\\u12zz"));
- WEE_TEST_STR("\U00123456", string_convert_escaped_chars ("\\U00123456"));
+ WEE_TEST_STR(" zz", string_convert_escaped_chars ("\\u20zz"));
+ WEE_TEST_STR("\U00012345", string_convert_escaped_chars ("\\U00012345"));
WEE_TEST_STR("\U00000123zzz",
string_convert_escaped_chars ("\\U00123zzz"));
WEE_TEST_STR("",