From ed5467c4a9938b62099538e097844a68c5f84bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 18 Aug 2023 16:33:35 +0200 Subject: scripts: fix function string_parse_size on 32-bit systems (python and ruby) (issue #1999) --- tests/scripts/python/testapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scripts') diff --git a/tests/scripts/python/testapi.py b/tests/scripts/python/testapi.py index 6e9bb22e1..f1b33a0e3 100644 --- a/tests/scripts/python/testapi.py +++ b/tests/scripts/python/testapi.py @@ -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') -- cgit v1.2.3