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 ef3e4e338..fb482edd8 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -2530,15 +2530,15 @@ TEST(IrcProtocolWithServer, 317)
SRV_INIT;
- /* not enough arguments */
+ /* not enough parameters */
RECV(":server 317");
- CHECK_ERROR_ARGS("317", 2, 6);
+ CHECK_ERROR_PARAMS("317", 0, 4);
RECV(":server 317 alice");
- CHECK_ERROR_ARGS("317", 3, 6);
+ CHECK_ERROR_PARAMS("317", 1, 4);
RECV(":server 317 alice bob");
- CHECK_ERROR_ARGS("317", 4, 6);
+ CHECK_ERROR_PARAMS("317", 2, 4);
RECV(":server 317 alice bob 122877");
- CHECK_ERROR_ARGS("317", 5, 6);
+ CHECK_ERROR_PARAMS("317", 3, 4);
/* signon at 03/12/2008 @ 1:18pm (UTC) */
RECV(":server 317 alice bob 122877 1205327880");