IsTypef asserts that the specified objects are of the same type.
(t TestingT, expectedType interface{}, object interface{}, msg string, args ...interface{})
| 440 | |
| 441 | // IsTypef asserts that the specified objects are of the same type. |
| 442 | func IsTypef(t TestingT, expectedType interface{}, object interface{}, msg string, args ...interface{}) bool { |
| 443 | if h, ok := t.(tHelper); ok { |
| 444 | h.Helper() |
| 445 | } |
| 446 | return IsType(t, expectedType, object, append([]interface{}{msg}, args...)...) |
| 447 | } |
| 448 | |
| 449 | // JSONEqf asserts that two JSON strings are equivalent. |
| 450 | // |