summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-09-11 21:41:47 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-09-11 21:41:47 +0200
commitddd859886e629d01cfa6b3b9b652db00e7dd51a5 (patch)
tree7c420b84b184cf32ac74fbd0007c7dedb0789c1a /tests
parentae50f6688e848d0f75fe54f73aaf19d70c7e7bdb (diff)
downloadweechat-ddd859886e629d01cfa6b3b9b652db00e7dd51a5.zip
irc: fix autojoin of channels when private buffers are opened (closes #2012)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/plugins/irc/test-irc-server.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit/plugins/irc/test-irc-server.cpp b/tests/unit/plugins/irc/test-irc-server.cpp
index 1e22fc1c4..2c1e9ad3c 100644
--- a/tests/unit/plugins/irc/test-irc-server.cpp
+++ b/tests/unit/plugins/irc/test-irc-server.cpp
@@ -799,6 +799,16 @@ TEST(IrcServer, GetDefaultMsg)
/*
* Tests functions:
+ * irc_server_has_channels
+ */
+
+TEST(IrcServer, HasChannels)
+{
+ /* TODO: write tests */
+}
+
+/*
+ * Tests functions:
* irc_server_alloc
*/