1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

Passed tests

This commit is contained in:
Ronan Doolan 2020-05-09 19:27:08 +01:00
parent 7e1e830c0e
commit 1136ff9793

View File

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