fix gitignore test

This commit is contained in:
Paul Gauthier 2024-10-07 12:29:39 -07:00
parent bde93903de
commit 3146d285bf

View file

@ -138,7 +138,7 @@ class TestMain(TestCase):
gitignore.write_text("one\ntwo\n") gitignore.write_text("one\ntwo\n")
check_gitignore(cwd, io) check_gitignore(cwd, io)
self.assertEqual("one\ntwo\n.aider*\n", gitignore.read_text()) self.assertEqual("one\ntwo\n.aider*\n.env\n", gitignore.read_text())
del os.environ["GIT_CONFIG_GLOBAL"] del os.environ["GIT_CONFIG_GLOBAL"]
def test_main_args(self): def test_main_args(self):