Adopt testify require.True
ProprietaryReplace if !cond { t.Fatal(...) } with require.True(t, cond) and if cond { t.Fatal(...) } with require.False(t, cond) from github.com/stretchr/testify/require. Comparison conditions are left to the Equal / Nil / Len recipes.
org. openrewrite. golang. testify. AdoptTestifyRequireTruemod run . --recipe= org. openrewrite. golang. testify. AdoptTestifyRequireTrueInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.