mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
tests: replace POINTERS_EQUAL by STRCMP_EQUAL in string comparisons with NULL
This commit is contained in:
@@ -170,13 +170,13 @@ TEST(GuiInput, ClipboardCopy)
|
||||
}
|
||||
|
||||
gui_input_clipboard_copy (NULL, 1);
|
||||
POINTERS_EQUAL(NULL, gui_input_clipboard);
|
||||
STRCMP_EQUAL(NULL, gui_input_clipboard);
|
||||
|
||||
gui_input_clipboard_copy ("abc", -1);
|
||||
POINTERS_EQUAL(NULL, gui_input_clipboard);
|
||||
STRCMP_EQUAL(NULL, gui_input_clipboard);
|
||||
|
||||
gui_input_clipboard_copy ("abc", 0);
|
||||
POINTERS_EQUAL(NULL, gui_input_clipboard);
|
||||
STRCMP_EQUAL(NULL, gui_input_clipboard);
|
||||
|
||||
gui_input_clipboard_copy ("abc", 1);
|
||||
STRCMP_EQUAL("a", gui_input_clipboard);
|
||||
|
||||
Reference in New Issue
Block a user