FailNowf fails test
(t TestingT, failureMessage string, msg string, args ...interface{})
| 535 | |
| 536 | // FailNowf fails test |
| 537 | func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) { |
| 538 | if h, ok := t.(tHelper); ok { |
| 539 | h.Helper() |
| 540 | } |
| 541 | if assert.FailNowf(t, failureMessage, msg, args...) { |
| 542 | return |
| 543 | } |
| 544 | t.FailNow() |
| 545 | } |
| 546 | |
| 547 | // Failf reports a failure through |
| 548 | func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) { |