(t reflect.Type, vx, vy reflect.Value)
| 567 | } |
| 568 | |
| 569 | func (s *state) compareInterface(t reflect.Type, vx, vy reflect.Value) { |
| 570 | if vx.IsNil() || vy.IsNil() { |
| 571 | s.report(vx.IsNil() && vy.IsNil(), 0) |
| 572 | return |
| 573 | } |
| 574 | vx, vy = vx.Elem(), vy.Elem() |
| 575 | if vx.Type() != vy.Type() { |
| 576 | s.report(false, 0) |
| 577 | return |
| 578 | } |
| 579 | s.compareAny(TypeAssertion{&typeAssertion{pathStep{vx.Type(), vx, vy}}}) |
| 580 | } |
| 581 | |
| 582 | func (s *state) report(eq bool, rf resultFlags) { |
| 583 | if rf&reportByIgnore == 0 { |
no test coverage detected