Failf reports a failure through
(t TestingT, failureMessage string, msg string, args ...interface{})
| 213 | |
| 214 | // Failf reports a failure through |
| 215 | func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) bool { |
| 216 | if h, ok := t.(tHelper); ok { |
| 217 | h.Helper() |
| 218 | } |
| 219 | return Fail(t, failureMessage, append([]interface{}{msg}, args...)...) |
| 220 | } |
| 221 | |
| 222 | // FailNowf fails test |
| 223 | func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) bool { |