summaryrefslogtreecommitdiff
path: root/tests/test_argparse_completer.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-09-13 18:14:32 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-09-13 18:14:32 -0400
commit65ed685aad4707e9a8a4a48921d8ca862594d77c (patch)
treef0dfc510bd9e47e732f3a7a2e24d2065c85c1f12 /tests/test_argparse_completer.py
parented56264038258c24eda81d6f897b7b64cc0dc948 (diff)
downloadcmd2-git-65ed685aad4707e9a8a4a48921d8ca862594d77c.tar.gz
Fixed issue where invalid subcommand token was ignored when tab completing help
Diffstat (limited to 'tests/test_argparse_completer.py')
-rw-r--r--tests/test_argparse_completer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_argparse_completer.py b/tests/test_argparse_completer.py
index f2a0b01e..c1392676 100644
--- a/tests/test_argparse_completer.py
+++ b/tests/test_argparse_completer.py
@@ -288,6 +288,7 @@ def test_help(ac_app, command):
('music crea', 'jazz', []),
('music create', 'foo', []),
('fake create', '', []),
+ ('music fake', '', [])
])
def test_complete_help(ac_app, command, text, completions):
line = 'help {} {}'.format(command, text)