org.openrewrite.java.testing.junit5.JUnit5BestPractices should fix a null
as actual
and flip the parameters
#492
Labels
bug
Something isn't working
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?
Or even ``
What did you expect to see?
Or maybe through a dedicated pre-clean recipe that flips them:
assertNotEquals(null, myVariable);
This would cover more cases
What did you see instead?
What is the full stack trace of any errors you encountered?
Comments
This is intentionally filed as a bug report and not a feature request because it breaks the build.
So this has to be fixed. I see no reason for any user to push an Assertion on
null
to main.Are you interested in contributing a fix to OpenRewrite?
The text was updated successfully, but these errors were encountered: