NotNilf asserts that the specified object is not nil. a.NotNilf(err, "error message %s", "formatted")
(object interface{}, msg string, args ...interface{})
| 1340 | // |
| 1341 | // a.NotNilf(err, "error message %s", "formatted") |
| 1342 | func (a *Assertions) NotNilf(object interface{}, msg string, args ...interface{}) bool { |
| 1343 | if h, ok := a.t.(tHelper); ok { |
| 1344 | h.Helper() |
| 1345 | } |
| 1346 | return NotNilf(a.t, object, msg, args...) |
| 1347 | } |
| 1348 | |
| 1349 | // NotPanics asserts that the code inside the specified PanicTestFunc does NOT panic. |
| 1350 | // |