1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

tests: add unit tests on IRC functions irc_message_split* (issue #1387)

This commit is contained in:
Sébastien Helleu
2019-08-04 14:06:27 +02:00
parent 067f237ec3
commit 4fa62a83f1
2 changed files with 658 additions and 2 deletions
+5 -1
View File
@@ -1210,7 +1210,11 @@ end:
if (!split_ok
|| (weechat_hashtable_get_integer (hashtable, "items_count") == 0))
{
irc_message_split_add (hashtable, 1, tags, message, arguments);
irc_message_split_add (hashtable,
(message) ? 1 : 0,
tags,
message,
arguments);
}
if (tags)