diff --git a/tests/rules/test_brew_update_formula.py b/tests/rules/test_brew_update_formula.py index 5cec48b..a35e1d9 100644 --- a/tests/rules/test_brew_update_formula.py +++ b/tests/rules/test_brew_update_formula.py @@ -4,7 +4,7 @@ from thefuck.rules.brew_update_formula import get_new_command, match output = ("Error: This command updates brew itself, and does not take formula" - " names.\nUse 'brew upgrade thefuck'.") + " names.\nUse `brew upgrade thefuck`.") def test_match(): diff --git a/thefuck/rules/brew_update_formula.py b/thefuck/rules/brew_update_formula.py index 172df6a..4f2264a 100644 --- a/thefuck/rules/brew_update_formula.py +++ b/thefuck/rules/brew_update_formula.py @@ -5,7 +5,7 @@ from thefuck.utils import for_app def match(command): return ('update' in command.script and "Error: This command updates brew itself" in command.output - and "Use 'brew upgrade" in command.output) + and "Use `brew upgrade" in command.output) def get_new_command(command):