Adopt testify require.Error
ProprietaryReplace if err == nil { t.Fatal("...") } guards in tests with require.Error(t, err) from github.com/stretchr/testify/require.
org. openrewrite. golang. testify. AdoptTestifyRequireErrormod run . --recipe= org. openrewrite. golang. testify. AdoptTestifyRequireErrorInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.