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

Function Failf

internal/testify/assert/assertion_format.go:208–213  ·  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

206
207// Failf reports a failure through
208func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) bool {
209 if h, ok := t.(tHelper); ok {
210 h.Helper()
211 }
212 return Fail(t, failureMessage, append([]interface{}{msg}, args...)...)
213}
214
215// FailNowf fails test
216func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) bool {

Callers 2

FailfFunction · 0.92
FailfMethod · 0.70

Calls 2

FailFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…