From 6124bf3c9255a5fb9ea667039cecb8563b2e7025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 16 Oct 2021 18:55:13 +0200 Subject: irc: use parsed command parameters in "729" command callback --- tests/unit/plugins/irc/test-irc-protocol.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 3b9a2387c..73a669ef0 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -3863,13 +3863,13 @@ TEST(IrcProtocolWithServer, 729) { SRV_INIT_JOIN; - /* not enough arguments */ + /* not enough parameters */ RECV(":server 729"); - CHECK_ERROR_ARGS("729", 2, 5); + CHECK_ERROR_PARAMS("729", 0, 3); RECV(":server 729 alice"); - CHECK_ERROR_ARGS("729", 3, 5); + CHECK_ERROR_PARAMS("729", 1, 3); RECV(":server 729 alice #test"); - CHECK_ERROR_ARGS("729", 4, 5); + CHECK_ERROR_PARAMS("729", 2, 3); RECV(":server 729 alice #test q"); CHECK_CHAN("-- [#test]"); -- cgit v1.2.3