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 da5ce9eda..f1ce83f75 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -2456,15 +2456,15 @@ TEST(IrcProtocolWithServer, 312)
{
SRV_INIT;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 312");
- CHECK_ERROR_ARGS("312", 2, 6);
+ CHECK_ERROR_PARAMS("312", 0, 4);
RECV(":server 312 alice");
- CHECK_ERROR_ARGS("312", 3, 6);
+ CHECK_ERROR_PARAMS("312", 1, 4);
RECV(":server 312 alice bob");
- CHECK_ERROR_ARGS("312", 4, 6);
+ CHECK_ERROR_PARAMS("312", 2, 4);
RECV(":server 312 alice bob server");
- CHECK_ERROR_ARGS("312", 5, 6);
+ CHECK_ERROR_PARAMS("312", 3, 4);
RECV(":server 312 alice bob server :https://example.com/");
CHECK_SRV("-- [bob] server (https://example.com/)");