summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-08-18 16:33:35 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-08-18 16:40:53 +0200
commited5467c4a9938b62099538e097844a68c5f84bda (patch)
tree363eecc7c5f0a8d86e6728c8b9b9eceb8ed5c51f /tests/scripts
parentfadfffc0b6f4c6a8b51d4dc8d81d76bdf5f65a11 (diff)
downloadweechat-ed5467c4a9938b62099538e097844a68c5f84bda.zip
scripts: fix function string_parse_size on 32-bit systems (python and ruby) (issue #1999)
Diffstat (limited to 'tests/scripts')
-rw-r--r--tests/scripts/python/testapi.py2
1 files changed, 1 insertions, 1 deletions
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')