mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-17 10:42:33 +01:00
Hoping this fixes the issue of it not working.
Still new to this project. My problem of it not working (I admit to being at fault) was that I had not added the same rule to the test case.
This commit is contained in:
@@ -5,7 +5,8 @@ from tests.utils import Command
|
||||
|
||||
@pytest.mark.parametrize('stderr', ['Permission denied',
|
||||
'permission denied',
|
||||
"npm ERR! Error: EACCES, unlink"])
|
||||
"npm ERR! Error: EACCES, unlink",
|
||||
'requested operation requires superuser privilege'])
|
||||
def test_match(stderr):
|
||||
assert match(Command(stderr=stderr), None)
|
||||
|
||||
|
Reference in New Issue
Block a user