Failf reports a failure through
(t TestingT, failureMessage string, msg string, args ...interface{})
| 206 | |
| 207 | // Failf reports a failure through |
| 208 | func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) bool { |
| 209 | if h, ok := t.(tHelper); ok { |
| 210 | h.Helper() |
| 211 | } |
| 212 | return Fail(t, failureMessage, append([]interface{}{msg}, args...)...) |
| 213 | } |
| 214 | |
| 215 | // FailNowf fails test |
| 216 | func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) bool { |