IsNotTypef asserts that the specified objects are not of the same type. assert.IsNotTypef(t, &NotMyStruct{}, &MyStruct{}, "error message %s", "formatted")
(t TestingT, theType interface{}, object interface{}, msg string, args ...interface{})
| 449 | // |
| 450 | // assert.IsNotTypef(t, &NotMyStruct{}, &MyStruct{}, "error message %s", "formatted") |
| 451 | func IsNotTypef(t TestingT, theType interface{}, object interface{}, msg string, args ...interface{}) bool { |
| 452 | if h, ok := t.(tHelper); ok { |
| 453 | h.Helper() |
| 454 | } |
| 455 | return IsNotType(t, theType, object, append([]interface{}{msg}, args...)...) |
| 456 | } |
| 457 | |
| 458 | // IsTypef asserts that the specified objects are of the same type. |
| 459 | // |
no test coverage detected
searching dependent graphs…