From 90cfcdfc795d0c4eb6768eae9623a049e9e79e8d Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 16 Jul 2019 10:48:17 -0400 Subject: Moved the sorting of shortcuts into StatementParser which allows users to pass in a dictionary instead of a tuple for shortcuts. --- tests/test_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_history.py') diff --git a/tests/test_history.py b/tests/test_history.py index add93ea6..88f38172 100644 --- a/tests/test_history.py +++ b/tests/test_history.py @@ -276,7 +276,7 @@ def parser(): 'l': '!ls -al', 'anothermultiline': 'multiline', 'fake': 'run_pyscript'}, - shortcuts=[('?', 'help'), ('!', 'shell')] + shortcuts={'?': 'help', '!': 'shell'} ) return parser -- cgit v1.2.1