diff --git a/tests/src/editor/editcmd__edit_complete_word_cmd.c b/tests/src/editor/editcmd__edit_complete_word_cmd.c index b2550f58e..ab4a90413 100644 --- a/tests/src/editor/editcmd__edit_complete_word_cmd.c +++ b/tests/src/editor/editcmd__edit_complete_word_cmd.c @@ -29,6 +29,7 @@ #include +#include "lib/timer.h" #ifdef HAVE_CHARSET #include "lib/charsets.h" #endif @@ -144,6 +145,7 @@ editcmd_dialog_completion_show__deinit (void) static void my_setup (void) { + mc_global.timer = mc_timer_new (); str_init_strings (NULL); vfs_init (); @@ -178,6 +180,7 @@ my_teardown (void) vfs_shut (); str_uninit_strings (); + mc_timer_destroy (mc_global.timer); } /* --------------------------------------------------------------------------------------------- */