mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	Adding rule for trying to search using apt-get
This commit is contained in:
		| @@ -10,7 +10,12 @@ def test_match(): | ||||
| @pytest.mark.parametrize('command', [ | ||||
|     Command('apt-cache search foo'), | ||||
|     Command('aptitude search foo'), | ||||
|     Command('apt search foo') | ||||
|     Command('apt search foo'), | ||||
|     Command('apt-get install foo'), | ||||
|     Command('apt-get source foo'), | ||||
|     Command('apt-get clean'), | ||||
|     Command('apt-get remove'), | ||||
|     Command('apt-get update') | ||||
| ]) | ||||
| def test_not_match(command): | ||||
|     assert not match(command, None) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user