summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index fb482edd8..40a39857c 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -2566,11 +2566,11 @@ TEST(IrcProtocolWithServer, 321)
{
SRV_INIT;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 321");
- CHECK_ERROR_ARGS("321", 2, 4);
+ CHECK_ERROR_PARAMS("321", 0, 2);
RECV(":server 321 alice");
- CHECK_ERROR_ARGS("321", 3, 4);
+ CHECK_ERROR_PARAMS("321", 1, 2);
RECV(":server 321 alice #test");
CHECK_SRV("-- #test");