NotZerof asserts that i is not the zero value for its type.
(i interface{}, msg string, args ...interface{})
| 1456 | |
| 1457 | // NotZerof asserts that i is not the zero value for its type. |
| 1458 | func (a *Assertions) NotZerof(i interface{}, msg string, args ...interface{}) bool { |
| 1459 | if h, ok := a.t.(tHelper); ok { |
| 1460 | h.Helper() |
| 1461 | } |
| 1462 | return NotZerof(a.t, i, msg, args...) |
| 1463 | } |
| 1464 | |
| 1465 | // Panics asserts that the code inside the specified PanicTestFunc panics. |
| 1466 | // |