Bring back the smileys - part II

This commit is contained in:
J-P Nurmi committed 2015-08-22 11:54:33 +02:00
1 parent b402c1e582
commit 2ad2ee5620
2 files changed
+10 -2

No files matched your search

+8
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