youta-t/its

generic pointer matcher

Closed this issue · 1 comments

To test of *T where T is a some struct, its should have a generic pointer matcher.

It may be a meta matcher like:

func Pointer[T any](m its.Matcher[T]) its.Matcher[*T]

When it is rolled out, its.EqEqPtr will be deprecated.