1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00

flake8 fixes

This commit is contained in:
DragonGhost7 2019-10-03 22:01:39 -04:00
parent a8481bdc5a
commit 5ac5888a76
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ error: invalid option '-s'
"""
assert match(Command('pacman -ss meat', wrong_response))
def test_get_new_command():
assert get_new_command(Command('pacman -ss meat', '')) == 'pacman -Ss meat'
assert get_new_command(Command('pacman -s meat', '')) == 'pacman -S meat'

View File

@ -11,4 +11,4 @@ def get_new_command(command):
return re.sub(opt, opt.upper(), command.script)
enabled_by_default=true, pacman = archlinux_env()
enabled_by_default = true, pacman = archlinux_env()