diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-04-05 23:52:55 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-04-12 17:17:20 +0200 |
commit | 9ccdc5aff690ece41dae365505a1d09c5a897b43 (patch) | |
tree | 30fbe3a97c4fb5b6556ac28b92db33c7f78fc0d8 /tests/unit/plugins/irc/test-irc-server.cpp | |
parent | 62171c5974bc805e91ae39845fe65432cf3b27fa (diff) | |
download | weechat-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.cpp | 2 |
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"); |