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

#1141: Fix crash on empty history (#1145)

This commit is contained in:
Divy Jain
2020-11-18 15:13:11 +05:30
committed by GitHub
parent 836f6eeac5
commit 40dd65963d
2 changed files with 2 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ class TestCommand(object):
env=os_environ)
@pytest.mark.parametrize('script, result', [
([], None),
([''], None),
(['', ''], None),
(['ls', '-la'], 'ls -la'),