diff options
Diffstat (limited to 'tests/test_cmd2.py')
-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 a8278351..77542d76 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -288,7 +288,7 @@ def test_run_script(base_app, request): def test_load_deprecated(base_app): """Delete this when load alias is removed""" _, err = run_cmd(base_app, "load fake") - assert "load has been renamed and will be removed" in err[0] + assert "load has been renamed and will be removed" in err[-1] def test_run_script_with_empty_args(base_app): out, err = run_cmd(base_app, 'run_script') |