NotZerof asserts that i is not the zero value for its type.
(t TestingT, i interface{}, msg string, args ...interface{})
| 729 | |
| 730 | // NotZerof asserts that i is not the zero value for its type. |
| 731 | func NotZerof(t TestingT, i interface{}, msg string, args ...interface{}) bool { |
| 732 | if h, ok := t.(tHelper); ok { |
| 733 | h.Helper() |
| 734 | } |
| 735 | return NotZero(t, i, append([]interface{}{msg}, args...)...) |
| 736 | } |
| 737 | |
| 738 | // Panicsf asserts that the code inside the specified PanicTestFunc panics. |
| 739 | // |