summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/irc/test-irc-protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/plugins/irc/test-irc-protocol.cpp')
-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 91c8746f5..3b9a2387c 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -3824,15 +3824,15 @@ TEST(IrcProtocolWithServer, 728)
{
SRV_INIT_JOIN;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 728");
- CHECK_ERROR_ARGS("728", 2, 6);
+ CHECK_ERROR_PARAMS("728", 0, 4);
RECV(":server 728 alice");
- CHECK_ERROR_ARGS("728", 3, 6);
+ CHECK_ERROR_PARAMS("728", 1, 4);
RECV(":server 728 alice #test");
- CHECK_ERROR_ARGS("728", 4, 6);
+ CHECK_ERROR_PARAMS("728", 2, 4);
RECV(":server 728 alice #test q");
- CHECK_ERROR_ARGS("728", 5, 6);
+ CHECK_ERROR_PARAMS("728", 3, 4);
RECV(":server 728 alice #test q nick1!user1@host1");
CHECK_CHAN("-- [#test] nick1!user1@host1 quieted");