MCPcopy
hub / github.com/expr-lang/expr / Failf

Function Failf

internal/testify/require/require.go:535–543  ·  view source on GitHub ↗

Failf reports a failure through

(t TestingT, failureMessage string, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

533
534// Failf reports a failure through
535func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) {
536 if h, ok := t.(tHelper); ok {
537 h.Helper()
538 }
539 if assert.Failf(t, failureMessage, msg, args...) {
540 return
541 }
542 t.FailNow()
543}
544
545// False asserts that the specified value is false.
546//

Callers 1

FailfMethod · 0.70

Calls 3

FailfFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…