diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-16 18:55:13 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-17 21:28:31 +0200 |
commit | 6124bf3c9255a5fb9ea667039cecb8563b2e7025 (patch) | |
tree | 2b348dab827691ac04eff194d073cecad61aaf0a /tests/unit/plugins/irc | |
parent | 6a8ec55118764b9f8b3c626ad6f99eb839e901a3 (diff) | |
download | weechat-6124bf3c9255a5fb9ea667039cecb8563b2e7025.zip |
irc: use parsed command parameters in "729" command callback
Diffstat (limited to 'tests/unit/plugins/irc')
-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 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]"); |