diff options
Diffstat (limited to 'tests/unit/plugins')
-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 5edc5352c..e5a0fd685 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -2944,13 +2944,13 @@ TEST(IrcProtocolWithServer, 345) { SRV_INIT_JOIN; - /* not enough arguments */ + /* not enough parameters */ RECV(":server 345"); - CHECK_ERROR_ARGS("345", 2, 5); + CHECK_ERROR_PARAMS("345", 0, 3); RECV(":server 345 alice"); - CHECK_ERROR_ARGS("345", 3, 5); + CHECK_ERROR_PARAMS("345", 1, 3); RECV(":server 345 alice #test"); - CHECK_ERROR_ARGS("345", 4, 5); + CHECK_ERROR_PARAMS("345", 2, 3); RECV(":server 345 alice #test end"); CHECK_SRV("-- #test: end"); |