We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using
I am using the Maven plugin, and my project is a single module project.
<plugin> <groupId>org.openrewrite.maven</groupId> <artifactId>rewrite-maven-plugin</artifactId> <version>5.32.1</version> <configuration> <activeRecipes> <recipe>org.openrewrite.java.testing.hamcrest.HamcrestMatcherToAssertJ</recipe> </activeRecipes> </configuration> </plugin>
Using the hamcrest matchers from the core package.
import static org.hamcrest.core.IsEqual.equalTo; import static org.hamcrest.core.IsNot.not; import static org.hamcrest.core.IsSame.sameInstance;
That the matchers are replaced with the assertJ assertions.
The text was updated successfully, but these errors were encountered:
Migrate all Hamcrest matchers from core package
6f91c2f
Fixes #519
Thanks for bringing this to our attention @Saturas89 ! Should be fixed with
Sorry, something went wrong.
Migrate all Hamcrest matchers from core package (#523)
822149a
timtebeek
Successfully merging a pull request may close this issue.
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
Using the hamcrest matchers from the core package.
What did you expect to see?
That the matchers are replaced with the assertJ assertions.
The text was updated successfully, but these errors were encountered: