mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-21 18:18:38 +00:00
Update tests/rules/test_brew_cask_reinstall.py
Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
parent
dee9469e14
commit
34714dc6ec
@ -21,7 +21,7 @@ def test_not_match(script):
|
|||||||
|
|
||||||
@pytest.mark.parametrize('script, formula, ', [
|
@pytest.mark.parametrize('script, formula, ', [
|
||||||
('brew cask install foo', 'foo'),
|
('brew cask install foo', 'foo'),
|
||||||
('brew install bar zap', 'bar zap')])
|
('brew cask install bar zap', 'bar zap')])
|
||||||
def test_get_new_command(script, formula):
|
def test_get_new_command(script, formula):
|
||||||
command = Command(script, output)
|
command = Command(script, output)
|
||||||
new_command = 'brew cask reinstall {}'.format(formula)
|
new_command = 'brew cask reinstall {}'.format(formula)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user