MCPcopy Index your code
hub / github.com/expr-lang/expr / NotNilf

Method NotNilf

internal/testify/assert/assertion_forward.go:1254–1259  ·  view source on GitHub ↗

NotNilf asserts that the specified object is not nil. a.NotNilf(err, "error message %s", "formatted")

(object interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

1252//
1253// a.NotNilf(err, "error message %s", "formatted")
1254func (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//

Callers

nothing calls this directly

Calls 2

NotNilfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected