MCPcopy
hub / github.com/stretchr/testify / FailNow

Method FailNow

assert/assertion_forward.go:426–431  ·  assert/assertion_forward.go::Assertions.FailNow

FailNow fails test

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

Source from the content-addressed store, hash-verified

424
425// FailNow fails test
426func (a *Assertions) FailNow(failureMessage string, msgAndArgs ...interface{}) bool {
427 if h, ok := a.t.(tHelper); ok {
428 h.Helper()
429 }
430 return FailNow(a.t, failureMessage, msgAndArgs...)
431}
432
433// FailNowf fails test
434func (a *Assertions) FailNowf(failureMessage string, msg string, args ...interface{}) bool {

Callers

nothing calls this directly

Calls 2

FailNowFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected