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

Method Fail

internal/testify/assert/assertion_forward.go:404–409  ·  view source on GitHub ↗

Fail reports a failure through

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

FailFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected