Fail reports a failure through
(failureMessage string, msgAndArgs ...interface{})
| 402 | |
| 403 | // Fail reports a failure through |
| 404 | func (a *Assertions) Fail(failureMessage string, msgAndArgs ...interface{}) bool { |
| 405 | if h, ok := a.t.(tHelper); ok { |
| 406 | h.Helper() |
| 407 | } |
| 408 | return Fail(a.t, failureMessage, msgAndArgs...) |
| 409 | } |
| 410 | |
| 411 | // FailNow fails test |
| 412 | func (a *Assertions) FailNow(failureMessage string, msgAndArgs ...interface{}) bool { |