Failf reports a failure through
(t TestingT, failureMessage string, msg string, args ...interface{})
| 546 | |
| 547 | // Failf reports a failure through |
| 548 | func 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 | // |