(o error)
| 759 | func (e *errWithIs) Error() string { return e.msg } |
| 760 | |
| 761 | func (e *errWithIs) Is(o error) bool { |
| 762 | if ex, ok := o.(*errWithIs); ok { |
| 763 | return e.secret == ex.secret |
| 764 | } |
| 765 | return false |
| 766 | } |
| 767 | |
| 768 | func TestCompareUncomparable(t *testing.T) { |
| 769 | tt := testutils.T{T: t} |
no outgoing calls
no test coverage detected