mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Bring back the smileys - part II
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user