mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00: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:
parent
a2ac15da56
commit
d3295e6a4e
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user