mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
Passed tests
This commit is contained in:
parent
7e1e830c0e
commit
1136ff9793
@ -39,7 +39,7 @@ To search the help text of gcloud commands, run:
|
||||
|
||||
|
||||
@pytest.mark.parametrize('command', [
|
||||
# Command('gcloud comute instances list', misspelled_command),
|
||||
Command('gcloud comute instances list', misspelled_subcommand),
|
||||
Command('gcloud compute instance list', misspelled_subcommand)])
|
||||
def test_match(command):
|
||||
assert match(command)
|
||||
@ -50,8 +50,8 @@ def test_not_match():
|
||||
|
||||
|
||||
@pytest.mark.parametrize('command, result', [
|
||||
(Command('gcloud comute instances list', misspelled_command),
|
||||
['gcloud compute instances']),
|
||||
(Command('gcloud comute instances list', misspelled_subcommand),
|
||||
['gcloud compute instance-groups']),
|
||||
(Command('gcloud compute instance list', misspelled_subcommand),
|
||||
['gcloud compute instance-groups'])])
|
||||
def test_get_new_command(command, result):
|
||||
|
Loading…
x
Reference in New Issue
Block a user