test: add unit test for handling bad glob in command add

This commit is contained in:
Paul Gauthier 2024-09-28 14:48:17 -07:00 committed by Paul Gauthier (aider)
parent 1e776863ac
commit 0819258e0f

View file

@ -112,6 +112,8 @@ class TestCommands(TestCase):
# Assert that tool_error was called with the clipboard error message
mock_tool_error.assert_called_once_with("Failed to copy to clipboard: Clipboard error")
def test_cmd_add_bad_glob(self):
# https://github.com/paul-gauthier/aider/issues/293
io = InputOutput(pretty=False, yes=False)