summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-03-11 20:53:49 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-03-11 20:53:49 +0100
commit9545d37ab02d20be11820ff20b57bc98a1b6fb21 (patch)
tree28d30e20ce79df334d1234c03ce8b03ab9b02b32 /tests/scripts
parent5f94636b91ee0fc676000fa5707c1309e652b8f7 (diff)
downloadweechat-9545d37ab02d20be11820ff20b57bc98a1b6fb21.zip
tests: add tests on IRC protocol functions and some callbacks
Functions tested: * irc_protocol_is_numeric_command * irc_protocol_log_level_for_command * irc_protocol_tags * irc_protocol_nick_address * irc_protocol_cb_account * irc_protocol_cb_away * irc_protocol_cb_001 * irc_protocol_cb_005
Diffstat (limited to 'tests/scripts')
-rw-r--r--tests/scripts/test-scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/test-scripts.cpp b/tests/scripts/test-scripts.cpp
index 34ca7643f..1ece28301 100644
--- a/tests/scripts/test-scripts.cpp
+++ b/tests/scripts/test-scripts.cpp
@@ -36,7 +36,7 @@ extern "C"
#include "src/plugins/plugin.h"
}
-extern void run_cmd (const char *command);
+#include "tests/tests.h"
struct t_hook *api_hook_print = NULL;
int api_tests_ok = 0;