1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-23 03:16:37 +02:00

tests: use correct data type method in hdata tests

This commit is contained in:
LuK1337
2023-09-24 20:40:54 +02:00
committed by Sébastien Helleu
parent b433afbd26
commit 169eecb5cf
+1 -1
View File
@@ -624,7 +624,7 @@ def test_hdata():
# hdata_char
check(weechat.hdata_char(hdata_line_data, line1_data, 'displayed') == 1)
# hdata_integer
check(weechat.hdata_char(hdata_buffer, buffer2, 'number') == 2)
check(weechat.hdata_integer(hdata_buffer, buffer2, 'number') == 2)
# hdata_long
weechat.buffer_set(buffer, 'hotlist', weechat.WEECHAT_HOTLIST_MESSAGE)
gui_hotlist = weechat.hdata_get_list(hdata_hotlist, 'gui_hotlist')