summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/irc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-10-16 09:43:45 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-10-17 21:28:31 +0200
commit2509486c6ae801f284b2eb1e6af29602d46b52a1 (patch)
tree4ba2a41a81322d4f30a09abc6194946933e903fe /tests/unit/plugins/irc
parentdf9c32b0c3ef78c9a8866779e554994f694139f6 (diff)
downloadweechat-2509486c6ae801f284b2eb1e6af29602d46b52a1.zip
irc: use parsed command parameters in "323" command callback
Diffstat (limited to 'tests/unit/plugins/irc')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index 58d316de1..e991ec958 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -2625,9 +2625,9 @@ TEST(IrcProtocolWithServer, 323)
{
SRV_INIT;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 323");
- CHECK_ERROR_ARGS("323", 2, 3);
+ CHECK_ERROR_PARAMS("323", 0, 1);
RECV(":server 323 alice");
CHECK_NO_MSG;