You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jtama
changed the title
"MigrateHamcrestToAssertJ" recipe does not migrate comparesEqualTo matcher
"MigrateHamcrestToAssertJ" recipe does not fully migrate comparesEqualTo matcher
Nov 27, 2024
I hadn't since taken the time to reevaluate which other types are fine to support there as well; I'd welcome a PR that adds a few more allowed types to be converted, thanks!
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using executing openrewrite through the shell, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
What did you see instead?
I think it's all linked to to this line https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml#L65 that limits the type argument to
String
.I can provide a PR if you like.
The text was updated successfully, but these errors were encountered: