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

Method Fail

internal/testify/require/require_forward.go:406–411  ·  view source on GitHub ↗

Fail reports a failure through

(failureMessage string, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

404
405// Fail reports a failure through
406func (a *Assertions) Fail(failureMessage string, msgAndArgs ...interface{}) {
407 if h, ok := a.t.(tHelper); ok {
408 h.Helper()
409 }
410 Fail(a.t, failureMessage, msgAndArgs...)
411}
412
413// FailNow fails test
414func (a *Assertions) FailNow(failureMessage string, msgAndArgs ...interface{}) {

Callers

nothing calls this directly

Calls 2

FailFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected