summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-10-16 23:01:07 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-10-17 21:28:31 +0200
commit9063546acc1818096e7b5693b28546ae306b6519 (patch)
tree06b06080b2a12a3fe863cadf8cb871e8c9c9c089 /tests/unit
parentf1cb767001dc4fe9e6cd0bc6bea4fb9342a848c9 (diff)
downloadweechat-9063546acc1818096e7b5693b28546ae306b6519.zip
irc: remove parameters argc/argv/argv_eol from command callbacks
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index bebf44b8c..963482ce2 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -97,11 +97,6 @@ extern char *irc_protocol_cap_to_enable (const char *capabilities,
FAIL(string_dyn_free (msg, 0)); \
}
-#define CHECK_ERROR_ARGS(__command, __args, __expected_args) \
- CHECK_SRV("=!= irc: too few arguments received from IRC server " \
- "for command \"" __command "\" (received: " #__args " " \
- "arguments, expected: at least " #__expected_args ")");
-
#define CHECK_ERROR_PARAMS(__command, __params, __expected_params) \
CHECK_SRV("=!= irc: too few parameters received in command " \
"\"" __command "\" (received: " #__params ", " \