Adopt testify assert.Len

Proprietary

Replace if len(x) != n { t.Error(...) } with assert.Len(t, x, n) from github.com/stretchr/testify/assert.

org.openrewrite.golang.testify.AdoptTestifyAssertLen
mod run . --recipe=org.openrewrite.golang.testify.AdoptTestifyAssertLen

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.