MCPcopy Index your code
hub / github.com/expr-lang/expr / FailNowf

Function FailNowf

internal/testify/require/require.go:524–532  ·  view source on GitHub ↗

FailNowf fails test

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

Source from the content-addressed store, hash-verified

522
523// FailNowf fails test
524func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) {
525 if h, ok := t.(tHelper); ok {
526 h.Helper()
527 }
528 if assert.FailNowf(t, failureMessage, msg, args...) {
529 return
530 }
531 t.FailNow()
532}
533
534// Failf reports a failure through
535func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) {

Callers 1

FailNowfMethod · 0.70

Calls 3

FailNowfFunction · 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…