1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 02:41:10 +01:00

Change failed message 'No fuck given' to the more popular 'No fucks given'

This commit is contained in:
JakobGreen 2015-08-07 14:51:51 -06:00
parent 215c64d924
commit 6883d2dbeb
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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)