summaryrefslogtreecommitdiff
path: root/tests/unit/gui/test-gui-key.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-08-25 08:16:36 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-08-25 08:16:36 +0200
commit11943ebaaf98d70be17bcdf2579ee7461fa789a6 (patch)
treebbad7ea941b9e74868ef0d70f39fd0b1a3805dca /tests/unit/gui/test-gui-key.cpp
parent2092715ac73588725809a5a5659cdcd52a4ecb81 (diff)
downloadweechat-11943ebaaf98d70be17bcdf2579ee7461fa789a6.zip
tests: add tests on GUI buffer functions
Functions tested: - gui_buffer_is_reserved_name - gui_buffer_get_integer - gui_buffer_get_string - gui_buffer_get_pointer
Diffstat (limited to 'tests/unit/gui/test-gui-key.cpp')
-rw-r--r--tests/unit/gui/test-gui-key.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/gui/test-gui-key.cpp b/tests/unit/gui/test-gui-key.cpp
index 02149d8c7..76b3e1055 100644
--- a/tests/unit/gui/test-gui-key.cpp
+++ b/tests/unit/gui/test-gui-key.cpp
@@ -124,6 +124,8 @@ TEST(GuiKey, GetCurrentContext)
input_data (gui_buffers, "/input search_stop", NULL, 0);
LONGS_EQUAL(GUI_KEY_CONTEXT_DEFAULT, gui_key_get_current_context ());
+
+ gui_buffers->text_search_where = 0;
}
/*