Errorf logs an error message with the test
(format string, args ...interface{})
| 58 | |
| 59 | // Errorf logs an error message with the test |
| 60 | func (t *T) Errorf(format string, args ...interface{}) { |
| 61 | log.Ctx(t.ctx).Error().Msgf(format, args...) |
| 62 | t.Fail() |
| 63 | } |
| 64 | |
| 65 | // Fail marks the test as failed |
| 66 | func (t *T) Fail() { |