summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-02 00:01:40 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-02 00:01:40 -0400
commit9c7e400d69852f9d490f2e38771e15087d52103e (patch)
treec2f218ffa063bcf0df6461830bc85dae22fb42de /tests
parentb22c0bd891ed08c8b09df56df9d91f48166a5e2a (diff)
downloadcmd2-git-9c7e400d69852f9d490f2e38771e15087d52103e.tar.gz
Macro resolution now occurs during parsing
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 300e3ed9..22f250ac 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1830,7 +1830,7 @@ def test_nonexistent_macro(base_app):
exception = None
try:
- base_app._run_macro(StatementParser().parse('fake'))
+ base_app._resolve_macro(StatementParser().parse('fake'))
except KeyError as e:
exception = e