// AssertFilterEqual asserts that two objects are equal.
// All ignored types found on any of the provided objects will not
// be compared.
AssertFilterEqual asserts that two objects are equal.
All ignored types found on any of the provided objects will not
be compared.
// AssertFilterEqual asserts that two objects are equal . // All ignored types found on any of the provided objects will not // be compared .
func AssertFilterEqual(t *testing.T, v1, v2 interface{}, ignoreTypes []interface{}) {
	t.Helper()
	diff := cmp.Diff(v1, v2, cmpopts.IgnoreTypes(ignoreTypes...),
		cmp.Exporter(func(reflect.Type) bool { return true }))
	if diff != "" {
		t.Errorf("Not equal:\n%s", diff)
	}
}
func AssertFilterEqual ( t * testing . T , v1 , v2 interface { } , ignoreTypes [ ] interface { } ) { t . Helper ( ) diff := cmp . Diff ( v1 , v2 , cmpopts . IgnoreTypes ( ignoreTypes ... ) , cmp . Exporter ( func ( reflect . Type ) bool { return true } ) ) if diff != " " { t . Errorf ( " \n " , diff ) } }
AssertFilterEqual asserts that two objects are equal.
AssertFilterEqual asserts that two objects are equal .