NotNilf asserts that the specified object is not nil. assert.NotNilf(t, err, "error message %s", "formatted")
(t TestingT, object interface{}, msg string, args ...interface{})
| 627 | // |
| 628 | // assert.NotNilf(t, err, "error message %s", "formatted") |
| 629 | func NotNilf(t TestingT, object interface{}, msg string, args ...interface{}) bool { |
| 630 | if h, ok := t.(tHelper); ok { |
| 631 | h.Helper() |
| 632 | } |
| 633 | return NotNil(t, object, append([]interface{}{msg}, args...)...) |
| 634 | } |
| 635 | |
| 636 | // NotPanicsf asserts that the code inside the specified PanicTestFunc does NOT panic. |
| 637 | // |