diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 10:48:17 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 10:48:17 -0400 |
commit | 90cfcdfc795d0c4eb6768eae9623a049e9e79e8d (patch) | |
tree | 0112e281f5c6c62afe041b53b13b4dfa0824e8c0 /tests/test_history.py | |
parent | 1820ebe60a4d059b6f016041fe9b401758ae321e (diff) | |
download | cmd2-git-90cfcdfc795d0c4eb6768eae9623a049e9e79e8d.tar.gz |
Moved the sorting of shortcuts into StatementParser which allows users to pass in a dictionary instead of a tuple for shortcuts.
Diffstat (limited to 'tests/test_history.py')
-rw-r--r-- | tests/test_history.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |