diff options
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/python/testapi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/scripts/python/testapi.py b/tests/scripts/python/testapi.py index 6d3833a1a..5e9df9a13 100644 --- a/tests/scripts/python/testapi.py +++ b/tests/scripts/python/testapi.py @@ -79,9 +79,9 @@ def test_strings(): check(weechat.string_parse_size('1') == 1) check(weechat.string_parse_size('12b') == 12) check(weechat.string_parse_size('123 b') == 123) - check(weechat.string_parse_size('1.34k') == 1340) - check(weechat.string_parse_size('1.5m') == 1500000) - check(weechat.string_parse_size('2.1g') == 2100000000) + check(weechat.string_parse_size('120k') == 120000) + check(weechat.string_parse_size('1500m') == 1500000000) + check(weechat.string_parse_size('3g') == 3000000000) check(weechat.string_color_code_size('') == 0) check(weechat.string_color_code_size('test') == 0) str_color = weechat.color('yellow,red') |