FailNowf fails test
(t TestingT, failureMessage string, msg string, args ...interface{})
| 522 | |
| 523 | // FailNowf fails test |
| 524 | func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) { |
| 525 | if h, ok := t.(tHelper); ok { |
| 526 | h.Helper() |
| 527 | } |
| 528 | if assert.FailNowf(t, failureMessage, msg, args...) { |
| 529 | return |
| 530 | } |
| 531 | t.FailNow() |
| 532 | } |
| 533 | |
| 534 | // Failf reports a failure through |
| 535 | func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) { |