Skip to content
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 gradle include combinator #3278

Merged
merged 2 commits into from Nov 1, 2022
Merged

Conversation

myuwono
Copy link
Contributor

@myuwono myuwono commented Oct 31, 2022

fixes #3277

@@ -14,7 +14,7 @@ class GradleClassMethodRegexTestFilter(private val patterns: List<String>) : Tes
logger.log { Pair(descriptor.toString(), "Testing against $patterns") }
return when {
patterns.isEmpty() -> TestFilterResult.Include
patterns.all { match(it, descriptor) } -> TestFilterResult.Include
patterns.any { match(it, descriptor) } -> TestFilterResult.Include
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the bug

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@myuwono do you want to get a patch release out, or should we put the fix in 5.6?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reckon it's good to get this out as a patch version.

@myuwono myuwono requested a review from Kantis October 31, 2022 20:32
@Kantis Kantis merged commit 3f568e4 into master Nov 1, 2022
@Kantis Kantis deleted the issue/fix-gradle-include-combinator branch November 1, 2022 02:11
Kantis pushed a commit that referenced this pull request Nov 1, 2022
* fix gradle include combinator

* fix incorrect expectation
@Kantis Kantis added this to the 5.5.4 milestone Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gradle filters should be additive
2 participants