From 1136ff9793a9ff1de350eea71bcd74fe405be7a9 Mon Sep 17 00:00:00 2001 From: Ronan Doolan Date: Sat, 9 May 2020 19:27:08 +0100 Subject: [PATCH] Passed tests --- tests/rules/test_gcloud_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/rules/test_gcloud_cli.py b/tests/rules/test_gcloud_cli.py index b05744db..6b8f45fd 100644 --- a/tests/rules/test_gcloud_cli.py +++ b/tests/rules/test_gcloud_cli.py @@ -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):