mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
handle no args properly
This commit is contained in:
parent
ed6ceae544
commit
5e593eb631
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ class TestMain(TestCase):
|
|||
with open(os.devnull, "r") as dev_null:
|
||||
save_stdin = sys.stdin
|
||||
sys.stdin = dev_null
|
||||
main()
|
||||
main([])
|
||||
sys.stdin = save_stdin
|
||||
|
||||
def test_main_with_empty_dir_new_file(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue