1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 11:56:38 +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 0ff08971aa
commit 9621c4381b
+1 -1
View File
@@ -599,7 +599,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')