NotZerof asserts that i is not the zero value for its type.
(i interface{}, msg string, args ...interface{})
| 1362 | |
| 1363 | // NotZerof asserts that i is not the zero value for its type. |
| 1364 | func (a *Assertions) NotZerof(i interface{}, msg string, args ...interface{}) bool { |
| 1365 | if h, ok := a.t.(tHelper); ok { |
| 1366 | h.Helper() |
| 1367 | } |
| 1368 | return NotZerof(a.t, i, msg, args...) |
| 1369 | } |
| 1370 | |
| 1371 | // Panics asserts that the code inside the specified PanicTestFunc panics. |
| 1372 | // |