From 20bfe4c1bab4cfbc3e67d6c513924fbd4c964b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 21 May 2023 22:18:01 +0200 Subject: irc: add missing tags "irc_cap" and "log3" in cap messages (client capability) --- tests/unit/plugins/irc/test-irc-protocol.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/unit/plugins') 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"); } /* -- cgit v1.2.3