-
Notifications
You must be signed in to change notification settings - Fork 458
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
Fix subgroups leading catch all matcher #1485
Conversation
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@@ -41,6 +41,12 @@ void sortImportsFromArrayWithSubgroups() { | |||
StepHarness.forStep(step).testResource("java/importsorter/JavaCodeUnsortedImportsSubgroups.test", "java/importsorter/JavaCodeSortedImportsSubgroups.test"); | |||
} | |||
|
|||
@Test | |||
void sortImportsFromArrayWithSubgroupsLeadingCatchAll() { | |||
FormatterStep step = ImportOrderStep.forJava().createFrom("\\#|"); |
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.
Verified that it fails without this change.
Thanks for the fix! I'm trying to release today, but migrating our deployment from CircleCI to GitHub has been surprisingly tricky... |
Published in |
@nedtwigg Thank you! I'm trying this version now :) |
This refers to #1401.