From c7cb025582936070cad90916d60186671ad47523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 16 Oct 2021 18:30:13 +0200 Subject: irc: use parsed command parameters in "368" command callback --- tests/unit/plugins/irc/test-irc-protocol.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/unit/plugins/irc/test-irc-protocol.cpp') 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]"); -- cgit v1.2.3