-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1466] Fix autocomplete for aliased subcommands #1467
Conversation
This is great, thank you! |
I just added aliases to the existing AutoComplete tests, and updated the expected outputs. The only thing that I'm not sure about is why in AutoCompleteTest#testComplete() I need to repeat each alias three times. Any idea? |
I will have to take a look in the debugger to see what is going on. It may take some time before I can get to this. |
I finally had some time to take a look at this. private static void filterAndTrimMatchingPrefix(String prefix, List<CharSequence> candidates) {
Set<CharSequence> replace = new HashSet<CharSequence>();
... The expectations in Can you change the PR accordingly? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also found some minor things with variables used in the test result templates that should be preserved. Can you take a look?
PR has been updated with all requested changes |
Merged. I will update the release notes when I get to my PC. |
This PR fixes #1466