diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-03-13 23:12:22 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-03-13 23:12:22 +0100 |
commit | aa3941fee2eb842273ac984d588cc3026d4f7ab3 (patch) | |
tree | b94fae38baed6d99d230ca25ad958ad10de053fb /tests/unit/plugins/irc | |
parent | ba70173a2e452becdb5ebd83c657f18e62f60a16 (diff) | |
download | weechat-aa3941fee2eb842273ac984d588cc3026d4f7ab3.zip |
tests: always run callback in calls to function config_file_option_set
Diffstat (limited to 'tests/unit/plugins/irc')
-rw-r--r-- | tests/unit/plugins/irc/test-irc-message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/plugins/irc/test-irc-message.cpp b/tests/unit/plugins/irc/test-irc-message.cpp index a8f9f44ee..83aaada42 100644 --- a/tests/unit/plugins/irc/test-irc-message.cpp +++ b/tests/unit/plugins/irc/test-irc-message.cpp @@ -1214,7 +1214,7 @@ TEST(IrcMessage, Split) /* PRIVMSG with 512 bytes and split_msg_max_length == 0: no split */ config_file_option_set ( irc_config_server_default[IRC_SERVER_OPTION_SPLIT_MSG_MAX_LENGTH], - "0", 0); + "0", 1); hashtable = irc_message_split (server, "PRIVMSG #channel :" LOREM_IPSUM_512); CHECK(hashtable); |