mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00:00
Merge branch 'master' of github.com:nvbn/thefuck
This commit is contained in:
commit
41a0a766ce
@ -69,7 +69,7 @@ class TestSelectCommand(object):
|
||||
|
||||
def test_without_commands(self, capsys):
|
||||
assert ui.select_command([], Mock(debug=False, no_color=True)) is None
|
||||
assert capsys.readouterr() == ('', 'No fuck given\n')
|
||||
assert capsys.readouterr() == ('', 'No fucks given\n')
|
||||
|
||||
def test_without_confirmation(self, capsys, commands):
|
||||
assert ui.select_command(commands,
|
||||
|
@ -80,7 +80,7 @@ def select_command(corrected_commands, settings):
|
||||
|
||||
"""
|
||||
if not corrected_commands:
|
||||
logs.failed('No fuck given', settings)
|
||||
logs.failed('No fucks given', settings)
|
||||
return
|
||||
|
||||
selector = CommandSelector(corrected_commands)
|
||||
|
Loading…
x
Reference in New Issue
Block a user