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{})
| 671 | // |
| 672 | // assert.NotNilf(t, err, "error message %s", "formatted") |
| 673 | func NotNilf(t TestingT, object interface{}, msg string, args ...interface{}) bool { |
| 674 | if h, ok := t.(tHelper); ok { |
| 675 | h.Helper() |
| 676 | } |
| 677 | return NotNil(t, object, append([]interface{}{msg}, args...)...) |
| 678 | } |
| 679 | |
| 680 | // NotPanicsf asserts that the code inside the specified PanicTestFunc does NOT panic. |
| 681 | // |