1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 03:46:39 +02:00

scripts: fix function string_parse_size on 32-bit systems (python and ruby) (issue #1999)

This commit is contained in:
Sébastien Helleu
2023-08-18 16:33:35 +02:00
parent 647d7033cf
commit ab7b51db72
4 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ def test_strings():
check(weechat.string_parse_size('123 b') == 123)
check(weechat.string_parse_size('120k') == 120000)
check(weechat.string_parse_size('1500m') == 1500000000)
check(weechat.string_parse_size('3g') == 3000000000)
check(weechat.string_parse_size('2g') == 2000000000)
check(weechat.string_color_code_size('') == 0)
check(weechat.string_color_code_size('test') == 0)
str_color = weechat.color('yellow,red')