1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 02:41:10 +01:00

Adding rule for trying to search using apt-get

This commit is contained in:
Bastian Gebhardt 2015-08-20 00:23:33 +02:00
parent 2b3e8dc62a
commit 8cbe236845

View File

@ -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)