Browse Source

Add test for watch with spaces

pull/1822/head
Chris Tyrrel 5 months ago committed by GitHub
parent
commit
c87192fb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      test/integration/tests/modules.cpp

5
test/integration/tests/modules.cpp

@ -78,6 +78,11 @@ TEST_F(ZNCTest, WatchModule) {
ircd.Write(":n!i@h PRIVMSG #znc :\001ACTION foo\001");
client.ReadUntil(
":$*!watch@znc.in PRIVMSG nick :* CTCP: n [ACTION foo] to [#znc]");
client.Write("PRIVMSG *watch :add * *spaces *word1 word2*");
client.ReadUntil("Adding entry:");
ircd.Write(":n!i@h PRIVMSG #znc :SOMETHING word1 word2 SOMETHING");
client.ReadUntil(
":*spaces!watch@znc.in PRIVMSG nick :<n:#znc> SOMETHING word1 word2 SOMETHING");
}
TEST_F(ZNCTest, ModuleCrypt) {

Loading…
Cancel
Save