mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 13:25:00 +00:00
fix: Update test to handle lowercase token budget input
This commit is contained in:
parent
c9ddca3a16
commit
9cf4286cee
1 changed files with 2 additions and 1 deletions
|
@ -1307,8 +1307,9 @@ class TestCommands(TestCase):
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check that the tool output shows the correct value with format
|
# Check that the tool output shows the correct value with format
|
||||||
|
# Use the actual input_value (not normalized) in the assertion
|
||||||
mock_tool_output.assert_any_call(
|
mock_tool_output.assert_any_call(
|
||||||
f"Set thinking token budget to {expected_tokens:,} tokens ({input_value})."
|
f"Set thinking token budget to {expected_tokens:,} tokens ({input_value.lower()})."
|
||||||
)
|
)
|
||||||
|
|
||||||
# Test with no value provided - should display current value
|
# Test with no value provided - should display current value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue