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