From 9d570a9cb19434e461b0c9036a968c1c4adf9c43 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 11 Mar 2025 11:49:39 -0700 Subject: [PATCH] feat: Update test values to use 1024 base for k and M suffixes --- tests/basic/test_commands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index 8c0036a7b..acd6ae925 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -1290,10 +1290,10 @@ class TestCommands(TestCase): # Test with various formats test_values = { - "8k": 8000, - "8K": 8000, - "10.5k": 10500, - "0.5M": 500000, + "8k": 8192, # 8 * 1024 + "8K": 8192, # 8 * 1024 + "10.5k": 10752, # 10.5 * 1024 + "0.5M": 524288, # 0.5 * 1024 * 1024 "1000": 1000, }