mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#415: Prevent double sudo
				
					
				
			This commit is contained in:
		| @@ -19,6 +19,7 @@ def test_match(stderr, stdout): | ||||
|  | ||||
| def test_not_match(): | ||||
|     assert not match(Command()) | ||||
|     assert not match(Command(script='sudo ls', stderr='Permission denied')) | ||||
|  | ||||
|  | ||||
| @pytest.mark.parametrize('before, after', [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user