1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

tests: add tests on config functions (scripting API)

This commit is contained in:
Sébastien Helleu
2022-10-15 21:31:45 +02:00
parent ec11126246
commit a1057c9a03
5 changed files with 326 additions and 50 deletions
+3 -3
View File
@@ -221,7 +221,7 @@ TEST(Scripts, API)
/* load script (run tests) */
snprintf (str_command, sizeof (str_command),
"/script load -q %s/testapi.%s",
"/script load -q %s/weechat_testapi.%s",
path_testapi_output_dir,
languages[i][1]);
run_cmd (str_command);
@@ -231,7 +231,7 @@ TEST(Scripts, API)
/* run tests */
snprintf (str_command, sizeof (str_command),
"/testapi.%s",
"/weechat_testapi.%s",
languages[i][1]);
run_cmd (str_command);
@@ -253,7 +253,7 @@ TEST(Scripts, API)
/* unload script */
snprintf (str_command, sizeof (str_command),
"/script unload -q testapi.%s",
"/script unload -q weechat_testapi.%s",
languages[i][1]);
run_cmd (str_command);