diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-06 21:08:46 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-10 21:12:46 +0100 |
commit | 02bdf854bc6730794bd7b64777f9a74cdaf3fc10 (patch) | |
tree | 2bf3761323d3857a4afcb92e72b882d41a399936 /tests/unit/plugins/irc/test-irc-join.cpp | |
parent | 8c66070136a87d621bb6b38ed9dbc2af075cb009 (diff) | |
download | weechat-02bdf854bc6730794bd7b64777f9a74cdaf3fc10.zip |
irc: fix add of same channel with and without key in the array list
Diffstat (limited to 'tests/unit/plugins/irc/test-irc-join.cpp')
-rw-r--r-- | tests/unit/plugins/irc/test-irc-join.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/plugins/irc/test-irc-join.cpp b/tests/unit/plugins/irc/test-irc-join.cpp index 09ade47b3..dee3aab23 100644 --- a/tests/unit/plugins/irc/test-irc-join.cpp +++ b/tests/unit/plugins/irc/test-irc-join.cpp @@ -280,6 +280,9 @@ TEST(IrcJoin, AddChannels) WEE_CHECK_ADD_CHANNELS("#abc,#xyz key_abc", "#xyz", "#abc key_abc"); WEE_CHECK_ADD_CHANNELS("#abc,#xyz,#def key_abc", "#xyz,#def", "#abc key_abc"); + + WEE_CHECK_ADD_CHANNELS("#abc,#chan1,#chan2,#xyz,#chan3 key_abc,key1,key2", + "#abc,#xyz,#chan2 key_abc", "#chan1,#chan2,#chan3 key1,key2"); } /* |