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:
@@ -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("",
|
||||
|
||||
Reference in New Issue
Block a user