IsNotType asserts that the specified objects are not of the same type. a.IsNotType(&NotMyStruct{}, &MyStruct{})
(theType interface{}, object interface{}, msgAndArgs ...interface{})
| 886 | // |
| 887 | // a.IsNotType(&NotMyStruct{}, &MyStruct{}) |
| 888 | func (a *Assertions) IsNotType(theType interface{}, object interface{}, msgAndArgs ...interface{}) bool { |
| 889 | if h, ok := a.t.(tHelper); ok { |
| 890 | h.Helper() |
| 891 | } |
| 892 | return IsNotType(a.t, theType, object, msgAndArgs...) |
| 893 | } |
| 894 | |
| 895 | // IsNotTypef asserts that the specified objects are not of the same type. |
| 896 | // |