mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-21 20:38:54 +00:00
Adding rule for trying to search using apt-get
This commit is contained in:
parent
2b3e8dc62a
commit
8cbe236845
@ -10,7 +10,12 @@ def test_match():
|
|||||||
@pytest.mark.parametrize('command', [
|
@pytest.mark.parametrize('command', [
|
||||||
Command('apt-cache search foo'),
|
Command('apt-cache search foo'),
|
||||||
Command('aptitude 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):
|
def test_not_match(command):
|
||||||
assert not match(command, None)
|
assert not match(command, None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user