Find assertTrue(...) calls — Kotest migration candidate
ProprietaryassertTrue(condition) collapses the predicate into a boolean before failure formatting can capture what the value actually was. Kotest's actual.shouldBeTrue() (and the matcher library generally — actual shouldBe true, actual.shouldStartWith(...)) carries the original expression into the failure message.
org. openrewrite. kotlin. testing. FindAssertTrueCandidateForKotest$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. testing. FindAssertTrueCandidateForKotest$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.