tests: fix compilation of tests with clang (closes #275)

This commit is contained in:
Sébastien Helleu 2014-12-10 21:15:40 +01:00
parent 1f1611c916
commit 7818e08964
2 changed files with 3 additions and 2 deletions

View File

@ -64,6 +64,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* core: fix translation of message displayed after /upgrade
* api: fix truncated process output in hook_process() (closes #266)
* api: fix crash when reading config options with NULL value (closes #238)
* tests: fix compilation of tests with clang (closes #275)
* irc: add missing server options "sasl_timeout" and "notify" in output of
/server listfull
* irc: use option irc.look.nick_mode_empty to display nick prefix in bar item

View File

@ -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("",