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