summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index 67776fc80..22577a5e6 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -538,9 +538,20 @@ TEST(IrcProtocolWithServer, cap)
server_recv (":server 001 alice");
/* not enough arguments */
+ server_recv ("CAP");
+ server_recv ("CAP *");
server_recv (":server CAP");
server_recv (":server CAP *");
+ server_recv ("CAP * LS :identify-msg multi-prefix sasl");
+ server_recv ("CAP * LS * :identify-msg multi-prefix sasl");
+ server_recv ("CAP * LIST :identify-msg multi-prefix sasl");
+ server_recv ("CAP * LIST * :identify-msg multi-prefix sasl");
+ server_recv ("CAP * NEW :identify-msg multi-prefix sasl");
+ server_recv ("CAP * DEL :identify-msg multi-prefix sasl");
+ server_recv ("CAP * ACK :sasl");
+ server_recv ("CAP * NAK :sasl");
+
server_recv (":server CAP * LS :identify-msg multi-prefix sasl");
server_recv (":server CAP * LS * :identify-msg multi-prefix sasl");
server_recv (":server CAP * LIST :identify-msg multi-prefix sasl");