mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +02:00
tests: replace POINTERS_EQUAL by STRCMP_EQUAL in string comparisons with NULL
This commit is contained in:
@@ -28,16 +28,8 @@ extern "C"
|
||||
|
||||
#define WEE_CHECK_GET_ARGS(__result, __arguments) \
|
||||
str = irc_mode_get_arguments (__arguments); \
|
||||
if (__result == NULL) \
|
||||
{ \
|
||||
POINTERS_EQUAL(NULL, str); \
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
STRCMP_EQUAL(__result, str); \
|
||||
} \
|
||||
if (str) \
|
||||
free (str);
|
||||
STRCMP_EQUAL(__result, str); \
|
||||
free (str);
|
||||
|
||||
TEST_GROUP(IrcMode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user