Zerof asserts that i is the zero value for its type.
(i interface{}, msg string, args ...interface{})
| 1716 | |
| 1717 | // Zerof asserts that i is the zero value for its type. |
| 1718 | func (a *Assertions) Zerof(i interface{}, msg string, args ...interface{}) bool { |
| 1719 | if h, ok := a.t.(tHelper); ok { |
| 1720 | h.Helper() |
| 1721 | } |
| 1722 | return Zerof(a.t, i, msg, args...) |
| 1723 | } |