NotZero asserts that i is not the zero value for its type.
(i interface{}, msgAndArgs ...interface{})
| 1354 | |
| 1355 | // NotZero asserts that i is not the zero value for its type. |
| 1356 | func (a *Assertions) NotZero(i interface{}, msgAndArgs ...interface{}) bool { |
| 1357 | if h, ok := a.t.(tHelper); ok { |
| 1358 | h.Helper() |
| 1359 | } |
| 1360 | return NotZero(a.t, i, msgAndArgs...) |
| 1361 | } |
| 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 { |