mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-18 19:22:32 +01:00
Add dnf history
error for the sudo rule
$ dnf history You don't have access to the history DB.
This commit is contained in:
@@ -11,6 +11,7 @@ from tests.utils import Command
|
||||
('need to be root', ''),
|
||||
('need root', ''),
|
||||
('must be root', ''),
|
||||
('You don\'t have access to the history DB.', ''),
|
||||
('', "error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'")])
|
||||
def test_match(stderr, stdout):
|
||||
assert match(Command(stderr=stderr, stdout=stdout), None)
|
||||
|
Reference in New Issue
Block a user