mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	Merge branch 'master' of github.com:nvbn/thefuck
This commit is contained in:
		| @@ -69,7 +69,7 @@ class TestSelectCommand(object): | |||||||
|  |  | ||||||
|     def test_without_commands(self, capsys): |     def test_without_commands(self, capsys): | ||||||
|         assert ui.select_command([], Mock(debug=False, no_color=True)) is None |         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): |     def test_without_confirmation(self, capsys, commands): | ||||||
|         assert ui.select_command(commands, |         assert ui.select_command(commands, | ||||||
|   | |||||||
| @@ -80,7 +80,7 @@ def select_command(corrected_commands, settings): | |||||||
|  |  | ||||||
|     """ |     """ | ||||||
|     if not corrected_commands: |     if not corrected_commands: | ||||||
|         logs.failed('No fuck given', settings) |         logs.failed('No fucks given', settings) | ||||||
|         return |         return | ||||||
|  |  | ||||||
|     selector = CommandSelector(corrected_commands) |     selector = CommandSelector(corrected_commands) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user