mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	#331 Fix bug with empty commands
This commit is contained in:
		| @@ -35,6 +35,8 @@ class TestGetCommand(object): | ||||
|                                       env={}) | ||||
|  | ||||
|     @pytest.mark.parametrize('args, result', [ | ||||
|         (['thefuck', ''], None), | ||||
|         (['thefuck', '', ''], None), | ||||
|         (['thefuck', 'ls', '-la'], 'ls -la'), | ||||
|         (['thefuck', 'ls'], 'ls')]) | ||||
|     def test_get_command_script(self, args, result): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user