[2.x] feat: Support ... as testOnly pattern#8577
Merged
eed3si9n merged 3 commits intosbt:developfrom Jan 19, 2026
Merged
Conversation
eed3si9n
reviewed
Jan 19, 2026
eed3si9n
reviewed
Jan 19, 2026
Co-authored-by: eugene yokota <[email protected]>
eed3si9n
approved these changes
Jan 19, 2026
Member
eed3si9n
left a comment
There was a problem hiding this comment.
Looks great. Thanks for adding the tests!
eed3si9n
reviewed
Jan 19, 2026
Contributor
Author
|
@eed3si9n It says that replaceAllLiterally has deprecated, could you please check it? |
Co-authored-by: eugene yokota <[email protected]>
Contributor
Author
|
All CI checks have passed now |
Member
|
Landed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8576
Problem
Currently
testOnlysupports glob expressions like**:testOnly **.SomethingTest
However,
**is inconvenient from Bash because Bash itself expands the glob expression, requiring users to quote the pattern.Solution
Support
...as an alias for**by substituting...with**before applying the glob filter. This allows users to write:Changes
Testing
Checklist