Adopt testify assert.Len
ProprietaryReplace if len(x) != n { t.Error(...) } with assert.Len(t, x, n) from github.com/stretchr/testify/assert.
org. openrewrite. golang. testify. AdoptTestifyAssertLenmod run . --recipe= org. openrewrite. golang. testify. AdoptTestifyAssertLenInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.