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