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