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

Function FailNowf

assert/assertion_format.go:223–228  ·  assert/assertion_format.go::FailNowf

FailNowf fails test

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

Source from the content-addressed store, hash-verified

221
222// FailNowf fails test
223func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) bool {
224 if h, ok := t.(tHelper); ok {
225 h.Helper()
226 }
227 return FailNow(t, failureMessage, append([]interface{}{msg}, args...)...)
228}
229
230// Falsef asserts that the specified value is false.
231//

Callers 2

FailNowfFunction · 0.92
FailNowfMethod · 0.70

Calls 2

FailNowFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected