Replace JUnit assertTrue(false, "reason") and assertFalse(true, "reason") with fail("reason")
MSALUsing fail is more direct and clear.
org. openrewrite. java. testing. cleanup. AssertLiteralBooleanToFailRecipes$WithMessageRecipemod run . --recipe= 'org. openrewrite. java. testing. cleanup. AssertLiteralBooleanToFailRecipes$WithMessageRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.