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

Function FailNow

internal/testify/require/require.go:513–521  ·  view source on GitHub ↗

FailNow fails test

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

Source from the content-addressed store, hash-verified

511
512// FailNow fails test
513func FailNow(t TestingT, failureMessage string, msgAndArgs ...interface{}) {
514 if h, ok := t.(tHelper); ok {
515 h.Helper()
516 }
517 if assert.FailNow(t, failureMessage, msgAndArgs...) {
518 return
519 }
520 t.FailNow()
521}
522
523// FailNowf fails test
524func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) {

Callers 1

FailNowMethod · 0.70

Calls 3

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