Replace JUnit assertTrue(a.equals(b)) to assertEquals(a,b)
MSALUsing assertEquals(a,b) is simpler and more clear.
org. openrewrite. java. testing. cleanup. AssertTrueEqualsToAssertEqualsmod run . --recipe= org. openrewrite. java. testing. cleanup. AssertTrueEqualsToAssertEqualsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.