Adopt testify assert.Equal

Proprietary

Replace if got != want { t.Error(...) } and if got == want { t.Error(...) } comparison guards in tests with assert.Equal(t, want, got) / assert.NotEqual(t, want, got) from github.com/stretchr/testify/assert.

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

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