From 65ed685aad4707e9a8a4a48921d8ca862594d77c Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Fri, 13 Sep 2019 18:14:32 -0400 Subject: Fixed issue where invalid subcommand token was ignored when tab completing help --- tests/test_argparse_completer.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_argparse_completer.py') 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) -- cgit v1.2.1