mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
check for "missing filename" in valerr
This commit is contained in:
parent
72a59e120c
commit
cdcb8b2e73
1 changed files with 2 additions and 1 deletions
|
@ -195,8 +195,9 @@ tests/test_repomap.py
|
||||||
|
|
||||||
These changes replace the `subprocess.run` patches with `subprocess.check_output` patches in both `test_check_for_ctags_failure` and `test_check_for_ctags_success` tests.
|
These changes replace the `subprocess.run` patches with `subprocess.check_output` patches in both `test_check_for_ctags_failure` and `test_check_for_ctags_success` tests.
|
||||||
"""
|
"""
|
||||||
with self.assertRaises(ValueError):
|
with self.assertRaises(ValueError) as cm:
|
||||||
list(utils.find_original_update_blocks(edit))
|
list(utils.find_original_update_blocks(edit))
|
||||||
|
self.assertIn("missing filename", str(cm.exception))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue