summaryrefslogtreecommitdiff
path: root/tests/unit/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-21 22:18:01 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-23 21:49:53 +0200
commit20bfe4c1bab4cfbc3e67d6c513924fbd4c964b5c (patch)
tree07544bb0117118557a4fa1aef46fd53dea3cc22c /tests/unit/plugins
parent3cb5f25681e9ecbfd21f9241f1f3ccd23efba3e7 (diff)
downloadweechat-20bfe4c1bab4cfbc3e67d6c513924fbd4c964b5c.zip
irc: add missing tags "irc_cap" and "log3" in cap messages (client capability)
Diffstat (limited to 'tests/unit/plugins')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index 1b6eafdd8..4d1b8e726 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -1284,54 +1284,54 @@ TEST(IrcProtocolWithServer, cap)
/* CAP LS */
RECV("CAP * LS :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, server supports: multi-prefix sasl",
- "");
+ "irc_cap,log3");
RECV("CAP * LS * :multi-prefix sasl");
CHECK_NO_MSG;
RECV(":server CAP * LS :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, server supports: multi-prefix sasl",
- "");
+ "irc_cap,log3");
RECV(":server CAP * LS * :multi-prefix sasl");
CHECK_NO_MSG;
/* CAP LIST */
RECV("CAP * LIST :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, currently enabled: multi-prefix sasl",
- "");
+ "irc_cap,log3");
RECV("CAP * LIST * :multi-prefix sasl");
CHECK_NO_MSG;
RECV(":server CAP * LIST :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, currently enabled: multi-prefix sasl",
- "");
+ "irc_cap,log3");
RECV(":server CAP * LIST * :multi-prefix sasl");
CHECK_NO_MSG;
/* CAP NEW */
RECV("CAP * NEW :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, now available: multi-prefix sasl",
- "");
+ "irc_cap,log3");
RECV(":server CAP * NEW :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, now available: multi-prefix sasl",
- "");
+ "irc_cap,log3");
/* CAP DEL */
RECV("CAP * DEL :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, removed: multi-prefix sasl",
- "");
+ "irc_cap,log3");
RECV(":server CAP * DEL :multi-prefix sasl");
CHECK_SRV("--", "irc: client capability, removed: multi-prefix sasl",
- "");
+ "irc_cap,log3");
/* CAP ACK */
RECV("CAP * ACK :sasl");
- CHECK_SRV("--", "irc: client capability, enabled: sasl", "");
+ CHECK_SRV("--", "irc: client capability, enabled: sasl", "irc_cap,log3");
RECV(":server CAP * ACK :sasl");
- CHECK_SRV("--", "irc: client capability, enabled: sasl", "");
+ CHECK_SRV("--", "irc: client capability, enabled: sasl", "irc_cap,log3");
/* CAP NAK */
RECV("CAP * NAK :sasl");
- CHECK_SRV("=!=", "irc: client capability, refused: sasl", "");
+ CHECK_SRV("=!=", "irc: client capability, refused: sasl", "irc_cap,log3");
RECV(":server CAP * NAK :sasl");
- CHECK_SRV("=!=", "irc: client capability, refused: sasl", "");
+ CHECK_SRV("=!=", "irc: client capability, refused: sasl", "irc_cap,log3");
}
/*