1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-21 20:38:54 +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:
Trace 2015-04-28 11:59:15 -05:00
parent a2ac15da56
commit d3295e6a4e

View File

@ -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)