summaryrefslogtreecommitdiff
path: root/tests/unit/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-10-03 14:40:59 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-10-03 14:40:59 +0200
commit1c5e5824e78ac66ba60f6a60202c7fb177c79524 (patch)
treee5e1f214f19ebe52255e3aa4fe37bf7d33621db7 /tests/unit/plugins
parentb32f561f776ab2db02e2ac5c15e968e6dc94baf2 (diff)
downloadweechat-1c5e5824e78ac66ba60f6a60202c7fb177c79524.zip
tests: run callback when resetting options in tests
Diffstat (limited to 'tests/unit/plugins')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index 9e3088039..d1697c165 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -382,7 +382,7 @@ TEST(IrcProtocolWithServer, NickAddress)
gui_color_get_custom ("reset"));
STRCMP_EQUAL(result, irc_protocol_nick_address (ptr_server, 1, ptr_nick,
"alice", "example.com"));
- config_file_option_reset (irc_config_look_color_nicks_in_server_messages, 0);
+ config_file_option_reset (irc_config_look_color_nicks_in_server_messages, 1);
}
/*