summaryrefslogtreecommitdiff
path: root/tests/test_autocompletion.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-06 02:39:26 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-06 02:39:26 -0400
commit9d6ce4a5bd25742166cccd317cf9e497d1115eae (patch)
tree5d12fb55711a4e8bada8706236898dc6cfe9764a /tests/test_autocompletion.py
parent4ebcf42f7fe51216019699b1a9edf2af4f3cb7b6 (diff)
downloadcmd2-git-9d6ce4a5bd25742166cccd317cf9e497d1115eae.tar.gz
ACArgumentParser no longer prints complete help text when a parsing error occurs
Diffstat (limited to 'tests/test_autocompletion.py')
-rw-r--r--tests/test_autocompletion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_autocompletion.py b/tests/test_autocompletion.py
index 8aeac6b1..a5dafd2d 100644
--- a/tests/test_autocompletion.py
+++ b/tests/test_autocompletion.py
@@ -152,7 +152,7 @@ def test_autocomp_flags_narg_max(cmd2_app):
def test_autcomp_narg_beyond_max(cmd2_app):
out, err = run_cmd(cmd2_app, 'suggest -t movie -d 3 4 5')
- assert 'Error: unrecognized arguments: 5' in err[0]
+ assert 'Error: unrecognized arguments: 5' in err[1]
def test_autocomp_subcmd_nested(cmd2_app):