summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/irc/test-irc-protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/plugins/irc/test-irc-protocol.cpp')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index 6a83dc825..af49deb70 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -1354,11 +1354,13 @@ TEST(IrcProtocolWithServer, nick)
/* new nick for bob */
RECV(":bob!user@host NICK bob_away");
CHECK_CHAN("-- bob is now known as bob_away");
+ CHECK_PV("bob_away", "-- bob is now known as bob_away");
STRCMP_EQUAL("bob_away", ptr_nick2->name);
/* new nick for bob_away (with ":") */
RECV(":bob_away!user@host NICK :bob2");
CHECK_CHAN("-- bob_away is now known as bob2");
+ CHECK_PV("bob2", "-- bob_away is now known as bob2");
STRCMP_EQUAL("bob2", ptr_nick2->name);
STRCMP_EQUAL("bob2", ptr_server->last_channel->name);