diff --git a/tests/rules/test_missing_space_before_subcommand.py b/tests/rules/test_missing_space_before_subcommand.py index c0e17694..68925dab 100644 --- a/tests/rules/test_missing_space_before_subcommand.py +++ b/tests/rules/test_missing_space_before_subcommand.py @@ -17,7 +17,7 @@ def test_match(script): assert match(Command(script)) -@pytest.mark.parametrize('script', ['git branch' 'vimfile']) +@pytest.mark.parametrize('script', ['git branch', 'vimfile']) def test_not_match(script): assert not match(Command(script)) diff --git a/thefuck/rules/missing_space_before_subcommand.py b/thefuck/rules/missing_space_before_subcommand.py index 6a165a3d..c199e03e 100644 --- a/thefuck/rules/missing_space_before_subcommand.py +++ b/thefuck/rules/missing_space_before_subcommand.py @@ -1,4 +1,4 @@ -from thefuck.utils import get_all_executables, memoize, which +from thefuck.utils import get_all_executables, memoize @memoize