summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index e903f2e31..8099906df 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -2672,15 +2672,15 @@ TEST(IrcProtocolWithServer, 327)
{
SRV_INIT;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 327");
- CHECK_ERROR_ARGS("327", 2, 6);
+ CHECK_ERROR_PARAMS("327", 0, 4);
RECV(":server 327 alice");
- CHECK_ERROR_ARGS("327", 3, 6);
+ CHECK_ERROR_PARAMS("327", 1, 4);
RECV(":server 327 alice bob");
- CHECK_ERROR_ARGS("327", 4, 6);
+ CHECK_ERROR_PARAMS("327", 2, 4);
RECV(":server 327 alice bob host");
- CHECK_ERROR_ARGS("327", 5, 6);
+ CHECK_ERROR_PARAMS("327", 3, 4);
RECV(":server 327 alice bob host 1.2.3.4");
CHECK_SRV("-- [bob] host 1.2.3.4");