Nil asserts that the specified object is nil. a.Nil(err)
(object interface{}, msgAndArgs ...interface{})
| 1063 | // |
| 1064 | // a.Nil(err) |
| 1065 | func (a *Assertions) Nil(object interface{}, msgAndArgs ...interface{}) { |
| 1066 | if h, ok := a.t.(tHelper); ok { |
| 1067 | h.Helper() |
| 1068 | } |
| 1069 | Nil(a.t, object, msgAndArgs...) |
| 1070 | } |
| 1071 | |
| 1072 | // Nilf asserts that the specified object is nil. |
| 1073 | // |