NotNilf asserts that the specified object is not nil. a.NotNilf(err, "error message %s", "formatted")
(object interface{}, msg string, args ...interface{})
| 1252 | // |
| 1253 | // a.NotNilf(err, "error message %s", "formatted") |
| 1254 | func (a *Assertions) NotNilf(object interface{}, msg string, args ...interface{}) bool { |
| 1255 | if h, ok := a.t.(tHelper); ok { |
| 1256 | h.Helper() |
| 1257 | } |
| 1258 | return NotNilf(a.t, object, msg, args...) |
| 1259 | } |
| 1260 | |
| 1261 | // NotPanics asserts that the code inside the specified PanicTestFunc does NOT panic. |
| 1262 | // |