mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-29 22:24:44 +00:00
#609: Use replace_command in yarn_command_not_found
This commit is contained in:
@@ -108,4 +108,4 @@ def test_not_match(command):
|
||||
@pytest.mark.parametrize('command, result', [
|
||||
(Command('yarn whyy webpack', stderr=stderr('whyy')), 'yarn why webpack')])
|
||||
def test_get_new_command(command, result):
|
||||
assert get_new_command(command) == result
|
||||
assert get_new_command(command)[0] == result
|
||||
|
||||
Reference in New Issue
Block a user