diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-14 22:42:07 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-17 21:28:31 +0200 |
commit | 8ea41d91c98959e519c4ddfa220ea521c9d041a9 (patch) | |
tree | 233c4226bbc97e02090bacdb12658f50b575f716 /tests/unit/plugins | |
parent | 7a88e007a55b11abba7e2232fa577d772772de84 (diff) | |
download | weechat-8ea41d91c98959e519c4ddfa220ea521c9d041a9.zip |
irc: use parsed command parameters in "ping" command callback
Diffstat (limited to 'tests/unit/plugins')
-rw-r--r-- | tests/unit/plugins/irc/test-irc-protocol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp index ec1c50059..d1a3faa5f 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -1526,9 +1526,9 @@ TEST(IrcProtocolWithServer, ping) { SRV_INIT; - /* not enough arguments, no response */ + /* not enough parameters, no response */ RECV("PING"); - CHECK_ERROR_ARGS("ping", 1, 2); + CHECK_ERROR_PARAMS("ping", 0, 1); CHECK_SENT(NULL); RECV("PING :123456789"); |