mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
Fix sudo rule
This commit is contained in:
parent
5e981d9b01
commit
ea306038f9
@ -8,6 +8,9 @@ from tests.utils import Command
|
|||||||
('permission denied', ''),
|
('permission denied', ''),
|
||||||
("npm ERR! Error: EACCES, unlink", ''),
|
("npm ERR! Error: EACCES, unlink", ''),
|
||||||
('requested operation requires superuser privilege', ''),
|
('requested operation requires superuser privilege', ''),
|
||||||
|
('need to be root', ''),
|
||||||
|
('need root', ''),
|
||||||
|
('must be root', ''),
|
||||||
('', "error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'")])
|
('', "error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'")])
|
||||||
def test_match(stderr, stdout):
|
def test_match(stderr, stdout):
|
||||||
assert match(Command(stderr=stderr, stdout=stdout), None)
|
assert match(Command(stderr=stderr, stdout=stdout), None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user