summaryrefslogtreecommitdiff
path: root/tests/unit/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/plugins')
-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 7974627a7..cb0d5754c 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -3611,11 +3611,11 @@ TEST(IrcProtocolWithServer, 368)
{
SRV_INIT_JOIN;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 368");
- CHECK_ERROR_ARGS("368", 2, 4);
+ CHECK_ERROR_PARAMS("368", 0, 2);
RECV(":server 368 alice");
- CHECK_ERROR_ARGS("368", 3, 4);
+ CHECK_ERROR_PARAMS("368", 1, 2);
RECV(":server 368 alice #test");
CHECK_CHAN("-- [#test]");