From 9545d37ab02d20be11820ff20b57bc98a1b6fb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 11 Mar 2020 20:53:49 +0100 Subject: 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 --- tests/scripts/test-scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scripts') 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; -- cgit v1.2.3