summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/irc/test-irc-server.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-04-05 23:52:55 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-04-12 17:17:20 +0200
commit9ccdc5aff690ece41dae365505a1d09c5a897b43 (patch)
tree30fbe3a97c4fb5b6556ac28b92db33c7f78fc0d8 /tests/unit/plugins/irc/test-irc-server.cpp
parent62171c5974bc805e91ae39845fe65432cf3b27fa (diff)
downloadweechat-9ccdc5aff690ece41dae365505a1d09c5a897b43.zip
irc: check that IRC URL starts with "irc" (issue #1903)
Diffstat (limited to 'tests/unit/plugins/irc/test-irc-server.cpp')
-rw-r--r--tests/unit/plugins/irc/test-irc-server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/plugins/irc/test-irc-server.cpp b/tests/unit/plugins/irc/test-irc-server.cpp
index 506ba4266..2727c47c8 100644
--- a/tests/unit/plugins/irc/test-irc-server.cpp
+++ b/tests/unit/plugins/irc/test-irc-server.cpp
@@ -534,8 +534,8 @@ TEST(IrcServer, AllocWithUrl)
POINTERS_EQUAL(NULL, irc_server_alloc_with_url (NULL));
POINTERS_EQUAL(NULL, irc_server_alloc_with_url (""));
-
POINTERS_EQUAL(NULL, irc_server_alloc_with_url ("test"));
+ POINTERS_EQUAL(NULL, irc_server_alloc_with_url ("test://irc.example.org"));
/* address */
server = irc_server_alloc_with_url ("irc://irc.example.org");