diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/plugins/irc/test-irc-protocol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp index e5a0fd685..d98133340 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -2973,13 +2973,13 @@ TEST(IrcProtocolWithServer, 346) { SRV_INIT_JOIN; - /* not enough arguments */ + /* not enough parameters */ RECV(":server 346"); - CHECK_ERROR_ARGS("346", 2, 5); + CHECK_ERROR_PARAMS("346", 0, 3); RECV(":server 346 alice"); - CHECK_ERROR_ARGS("346", 3, 5); + CHECK_ERROR_PARAMS("346", 1, 3); RECV(":server 346 alice #test"); - CHECK_ERROR_ARGS("346", 4, 5); + CHECK_ERROR_PARAMS("346", 2, 3); RECV(":server 346 alice #test invitemask"); CHECK_CHAN("-- [#test] [1] invitemask invited"); |