mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-18 19:22:32 +01:00
#298 Suggest more than one result in *_no_command rules
This commit is contained in:
@@ -22,8 +22,8 @@ def test_get_new_command():
|
||||
assert get_new_command(
|
||||
Command(stderr='vom: not found',
|
||||
script='vom file.py'),
|
||||
None) == 'vim file.py'
|
||||
None) == ['vim file.py']
|
||||
assert get_new_command(
|
||||
Command(stderr='fucck: not found',
|
||||
script='fucck'),
|
||||
Command) == 'fsck'
|
||||
Command) == ['fsck']
|
||||
|
Reference in New Issue
Block a user