From 0819258e0f522a8d3fba9644889e3100b41633c2 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 28 Sep 2024 14:48:17 -0700 Subject: [PATCH] test: add unit test for handling bad glob in command add --- tests/basic/test_commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index 0770a6484..fe91407fd 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -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)