mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 14:48:49 +00:00
flake8 fixes
This commit is contained in:
parent
a8481bdc5a
commit
5ac5888a76
@ -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'
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user