MCPcopy Create free account
hub / github.com/expr-lang/expr / Nilf

Method Nilf

internal/testify/assert/assertion_forward.go:1036–1041  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1034//
1035// a.Nilf(err, "error message %s", "formatted")
1036func (a *Assertions) Nilf(object interface{}, msg string, args ...interface{}) bool {
1037 if h, ok := a.t.(tHelper); ok {
1038 h.Helper()
1039 }
1040 return Nilf(a.t, object, msg, args...)
1041}
1042
1043// NoDirExists checks whether a directory does not exist in the given path.
1044// It fails if the path points to an existing _directory_ only.

Callers

nothing calls this directly

Calls 2

NilfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected