1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-10-30 14:44:05 +00:00

#74 Don't fail when runned without args

This commit is contained in:
nvbn
2015-04-21 14:26:45 +02:00
parent d09238a6e8
commit d5b4bddc4c
2 changed files with 5 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ def test_get_command():
stdout=PIPE,
stderr=PIPE,
env={'LANG': 'C'})
assert main.get_command(Mock(), ['']) is None
def test_get_matched_rule():