1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

tests: fix NULL pointer comparison in test of function irc_message_parse_to_hashtable

This commit is contained in:
Sébastien Helleu
2023-08-18 13:30:38 +02:00
parent 2ad8a0d868
commit 14334880d8
+2 -2
View File
@@ -775,8 +775,8 @@ TEST(IrcMessage, ParseToHashtable)
(const char *)hashtable_get (hashtable, "tags"));
POINTERS_EQUAL(NULL,
(const char *)hashtable_get (hashtable, "tag_time"));
STRCMP_EQUAL(NULL,
(const char *)hashtable_get (hashtable, "tag_tag2"));
POINTERS_EQUAL(NULL,
(const char *)hashtable_get (hashtable, "tag_tag2"));
STRCMP_EQUAL("PING :arguments here",
(const char *)hashtable_get (hashtable, "message_without_tags"));
STRCMP_EQUAL("",