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

Function Failf

require/require.go:548–556  ·  require/require.go::Failf

Failf reports a failure through

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

Source from the content-addressed store, hash-verified

546
547// Failf reports a failure through
548func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) {
549 if h, ok := t.(tHelper); ok {
550 h.Helper()
551 }
552 if assert.Failf(t, failureMessage, msg, args...) {
553 return
554 }
555 t.FailNow()
556}
557
558// False asserts that the specified value is false.
559//

Callers 1

FailfMethod · 0.70

Calls 3

FailfFunction · 0.92
HelperMethod · 0.65
FailNowMethod · 0.65

Tested by

no test coverage detected