mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
tests: replace POINTERS_EQUAL by STRCMP_EQUAL in string comparisons with NULL
This commit is contained in:
@@ -85,9 +85,9 @@ TEST(Alias, ReplaceArgs)
|
||||
{
|
||||
char *str;
|
||||
|
||||
POINTERS_EQUAL(NULL, alias_replace_args (NULL, NULL));
|
||||
POINTERS_EQUAL(NULL, alias_replace_args (NULL, ""));
|
||||
POINTERS_EQUAL(NULL, alias_replace_args ("", NULL));
|
||||
STRCMP_EQUAL(NULL, alias_replace_args (NULL, NULL));
|
||||
STRCMP_EQUAL(NULL, alias_replace_args (NULL, ""));
|
||||
STRCMP_EQUAL(NULL, alias_replace_args ("", NULL));
|
||||
|
||||
WEE_TEST_STR("", alias_replace_args ("", ""));
|
||||
WEE_TEST_STR("", alias_replace_args ("", "abc def"));
|
||||
|
||||
Reference in New Issue
Block a user