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

Resolve pitest suppression for FilterSet #12879

Closed
ThatSneakyCoder opened this issue Mar 21, 2023 · 3 comments
Closed

Resolve pitest suppression for FilterSet #12879

ThatSneakyCoder opened this issue Mar 21, 2023 · 3 comments

Comments

@ThatSneakyCoder
Copy link
Contributor

ThatSneakyCoder commented Mar 21, 2023

Related to #12341

Kill the surviving mutation;

<mutation unstable="false">
<sourceFile>FilterSet.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.FilterSet</mutatedClass>
<mutatedMethod>getFilters</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Collections::unmodifiableSet with argument</description>
<lineContent>return Collections.unmodifiableSet(filters);</lineContent>
</mutation>

@ThatSneakyCoder
Copy link
Contributor Author

ThatSneakyCoder commented Mar 21, 2023

@romani @nrmancuso
please approve

@ThatSneakyCoder
Copy link
Contributor Author

I'm on it.

@ThatSneakyCoder
Copy link
Contributor Author

Fix is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants