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