fix: Correctly format long error message string

This commit is contained in:
Paul Gauthier (aider) 2024-12-26 09:57:56 -05:00
parent e1485971d8
commit 0901e6ab77

View file

@ -1339,7 +1339,8 @@ class Commands:
# Check that appropriate error messages were shown
mock_tool_error.assert_any_call(
"Command '/ask Tell me about the code' is only supported in interactive mode, skipping."
"Command '/ask Tell me about the code' is only supported in interactive"
" mode, skipping."
)
mock_tool_error.assert_any_call(
"Command '/model gpt-4' is only supported in interactive mode, skipping."