diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-05-02 00:01:40 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-05-02 00:01:40 -0400 |
commit | 9c7e400d69852f9d490f2e38771e15087d52103e (patch) | |
tree | c2f218ffa063bcf0df6461830bc85dae22fb42de /tests | |
parent | b22c0bd891ed08c8b09df56df9d91f48166a5e2a (diff) | |
download | cmd2-git-9c7e400d69852f9d490f2e38771e15087d52103e.tar.gz |
Macro resolution now occurs during parsing
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cmd2.py | 2 |
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 |