1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

tests: add test on function hdata_count with empty list "gui_layouts"

This commit is contained in:
Sébastien Helleu
2024-06-14 17:37:11 +02:00
parent ce3c5f0caa
commit c83b08fae8
+1
View File
@@ -1018,6 +1018,7 @@ TEST(CoreEval, EvalExpression)
"${hdata_count:buffer[%p]}", test_buffer);
WEE_CHECK_EVAL("1", str_expr);
gui_buffer_close (test_buffer);
WEE_CHECK_EVAL("0", "${hdata_count:layout[gui_layouts]}");
/* test hdata */
hashtable_set (pointers, "my_null_pointer", (const void *)0x0);