diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-13 22:15:29 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-13 22:16:46 +0200 |
commit | d3b84eaf6c5235b473b46d83234d10369861b039 (patch) | |
tree | 93c4281d4fd5cf800e1eddaa9503d6209ee58126 /tests | |
parent | ac50a5dda7573052b269821a85d0d437b70b92c2 (diff) | |
download | weechat-d3b84eaf6c5235b473b46d83234d10369861b039.zip |
irc: display CHGHOST command in private buffers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/plugins/irc/test-irc-protocol.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp index c3d3872aa..7240cd461 100644 --- a/tests/unit/plugins/irc/test-irc-protocol.cpp +++ b/tests/unit/plugins/irc/test-irc-protocol.cpp @@ -879,6 +879,8 @@ TEST(IrcProtocolWithServer, chghost) SRV_INIT_JOIN2; + RECV(":bob!user@host PRIVMSG alice :hi Alice!"); + ptr_nick = ptr_server->channels->nicks; ptr_nick2 = ptr_server->channels->last_nick; @@ -913,6 +915,7 @@ TEST(IrcProtocolWithServer, chghost) RECV(":bob!user@host CHGHOST user_bob_2 host_bob_2"); CHECK_CHAN("-- bob (user@host) has changed host to user_bob_2@host_bob_2"); STRCMP_EQUAL("user_bob_2@host_bob_2", ptr_nick2->host); + CHECK_PV("bob", "-- bob (user@host) has changed host to user_bob_2@host_bob_2"); } /* |