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
Hi @rahulsom , thanks for reporting this suggestion here! It sounds like this issue could tie in with the work being done on #348, which will make it's way into our AssertJ best practices. In particular I think we can split the && first into two assertion statements, and then collapse those statements using the recipe developed in #373.
What problem are you trying to solve?
I'm converting JUnit assertions to AssertJ assertions.
Describe the solution you'd like
In the example here - https://docs.openrewrite.org/recipes/java/testing/assertj/junitasserttruetoassertthat
is turned into
The more useful conversion would be
Have you considered any alternatives or workarounds?
N/A
Additional context
Are you interested in contributing this feature to OpenRewrite?
The text was updated successfully, but these errors were encountered: