One of the benefits I often hear of "not using an assertion library" is that it makes equality comparisons type-safe (especially easy to get wrong when comparing eg specific numeric types).
I saw another assertion library recently https://github.com/alecthomas/assert that is heavily inspired by testify, but has made some of its funcs generic, to aid with this.
func Equal[T any](t testing.TB, expected, actual T, msgArgsAndCompareOptions ...any)
Is this something gotest.tools could consider?
Would it necessitate v3?
One of the benefits I often hear of "not using an assertion library" is that it makes equality comparisons type-safe (especially easy to get wrong when comparing eg specific numeric types).
I saw another assertion library recently https://github.com/alecthomas/assert that is heavily inspired by
testify, but has made some of its funcs generic, to aid with this.Is this something
gotest.toolscould consider?Would it necessitate v3?