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 2c949154d..6ae32ad00 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -3078,11 +3078,11 @@ TEST(IrcProtocolWithServer, 349)
{
SRV_INIT_JOIN;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 349");
- CHECK_ERROR_ARGS("349", 2, 4);
+ CHECK_ERROR_PARAMS("349", 0, 2);
RECV(":server 349 alice");
- CHECK_ERROR_ARGS("349", 3, 4);
+ CHECK_ERROR_PARAMS("349", 1, 2);
RECV(":server 349 alice #test");
CHECK_CHAN("-- [#test]");