Failf reports a failure through
(t TestingT, failureMessage string, msg string, args ...interface{})
| 533 | |
| 534 | // Failf reports a failure through |
| 535 | func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) { |
| 536 | if h, ok := t.(tHelper); ok { |
| 537 | h.Helper() |
| 538 | } |
| 539 | if assert.Failf(t, failureMessage, msg, args...) { |
| 540 | return |
| 541 | } |
| 542 | t.FailNow() |
| 543 | } |
| 544 | |
| 545 | // False asserts that the specified value is false. |
| 546 | // |