summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_history.py2
-rw-r--r--tests/test_parsing.py2
2 files changed, 2 insertions, 2 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
diff --git a/tests/test_parsing.py b/tests/test_parsing.py
index 13a535c0..a629d9fa 100644
--- a/tests/test_parsing.py
+++ b/tests/test_parsing.py
@@ -21,7 +21,7 @@ def parser():
'l': '!ls -al',
'anothermultiline': 'multiline',
'fake': 'run_pyscript'},
- shortcuts=[('?', 'help'), ('!', 'shell')]
+ shortcuts={'?': 'help', '!': 'shell'}
)
return parser