mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Handle path-specific edits in base_coder.py
test: Update test_main.py to check for explicit approval of shell commands
This commit is contained in:
parent
c7bf46bf68
commit
b2488af638
2 changed files with 4 additions and 1 deletions
|
@ -597,4 +597,5 @@ class TestMain(TestCase):
|
|||
output=DummyOutput(),
|
||||
)
|
||||
|
||||
self.assertTrue(Path("file.txt").exists())
|
||||
# shell commands require explicit approval, not just --yes
|
||||
self.assertFalse(Path("file.txt").exists())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue