Collapse assertThat followed by return into single statement
MSALCollapse an assertThat statement followed by a return of the same object into a single return assertThat(...).assertions().actual() statement.
org. openrewrite. java. testing. assertj. ReturnActualmod run . --recipe= org. openrewrite. java. testing. assertj. ReturnActualInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.