Bring back the smileys - part II

This commit is contained in:
J-P Nurmi
2015-08-22 11:50:58 +02:00
parent b402c1e582
commit 2ad2ee5620
2 changed files with 10 additions and 2 deletions

View File

@@ -198,6 +198,14 @@ TEST(MessageTest, Topic) {
EXPECT_EQ(":nick TOPIC #chan test", topic.ToString());
}
TEST(MessageTest, Parse) {
CMessage msg;
// #1037
msg.Parse(":irc.znc.in PRIVMSG ::)");
EXPECT_EQ(":)", msg.GetParam(0));
}
// The test data for MessageTest.Parse originates from https://github.com/SaberUK/ircparser
//
// IRCParser - Internet Relay Chat Message Parser