summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index 185c4299c..3da04a9f7 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -2164,6 +2164,11 @@ TEST(IrcProtocolWithServer, 353)
server_recv (":server 353 alice = #test :alice");
server_recv (":server 353 alice = #test :alice bob @carol +dan!user@host");
+ /* with option irc.look.color_nicks_in_names enabled */
+ config_file_option_set (irc_config_look_color_nicks_in_names, "on", 1);
+ server_recv (":server 353 alice = #test :alice bob @carol +dan!user@host");
+ config_file_option_unset (irc_config_look_color_nicks_in_names);
+
/* channel not found */
server_recv (":server 353 alice #xyz");
server_recv (":server 353 alice #xyz :alice");