mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
fix: Update git config include directive assertion in test
This commit is contained in:
parent
d70995bb1a
commit
d7efbad3df
1 changed files with 2 additions and 1 deletions
|
@ -763,7 +763,8 @@ class TestMain(TestCase):
|
|||
# Manually check the git config file to confirm include directive
|
||||
git_config_path = git_dir / ".git" / "config"
|
||||
git_config_content = git_config_path.read_text()
|
||||
self.assertIn(f"include.path={include_config}", git_config_content)
|
||||
self.assertIn("[include]", git_config_content)
|
||||
self.assertIn(f"path = {include_config}", git_config_content)
|
||||
|
||||
# Run aider and verify it doesn't change the git config
|
||||
main(["--yes", "--exit"], input=DummyInput(), output=DummyOutput())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue