mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#1215: Remove redirection to stderr with the ^ character
Redirection to standard error with the `^` character is disabled by default since Fish Shell version 3.3[1]. Fix #1214 [1]: https://github.com/fish-shell/fish-shell/blob/master/CHANGELOG.rst#deprecations-and-removed-features-1
This commit is contained in:
		
				
					committed by
					
						 Pablo Aguiar
						Pablo Aguiar
					
				
			
			
				
	
			
			
			
						parent
						
							711feb4df5
						
					
				
				
					commit
					0668822abb
				
			| @@ -87,8 +87,11 @@ class TestFish(object): | ||||
|  | ||||
|     def test_app_alias_alter_history(self, settings, shell): | ||||
|         settings.alter_history = True | ||||
|         assert 'builtin history delete' in shell.app_alias('FUCK') | ||||
|         assert 'builtin history merge' in shell.app_alias('FUCK') | ||||
|         assert ( | ||||
|             'builtin history delete --exact --case-sensitive -- $fucked_up_command\n' | ||||
|             in shell.app_alias('FUCK') | ||||
|         ) | ||||
|         assert 'builtin history merge\n' in shell.app_alias('FUCK') | ||||
|         settings.alter_history = False | ||||
|         assert 'builtin history delete' not in shell.app_alias('FUCK') | ||||
|         assert 'builtin history merge' not in shell.app_alias('FUCK') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user