Zerof asserts that i is the zero value for its type.
(i interface{}, msg string, args ...interface{})
| 1598 | |
| 1599 | // Zerof asserts that i is the zero value for its type. |
| 1600 | func (a *Assertions) Zerof(i interface{}, msg string, args ...interface{}) bool { |
| 1601 | if h, ok := a.t.(tHelper); ok { |
| 1602 | h.Helper() |
| 1603 | } |
| 1604 | return Zerof(a.t, i, msg, args...) |
| 1605 | } |