Errorf implements Reporter.Errorf.
(message string, args ...interface{})
| 53 | |
| 54 | // Errorf implements Reporter.Errorf. |
| 55 | func (r *FatalReporter) Errorf(message string, args ...interface{}) { |
| 56 | r.backend.Fatalf("%s", fmt.Sprintf(message, args...)) |
| 57 | } |
| 58 | |
| 59 | // PanicReporter is a struct that implements the Reporter interface |
| 60 | // and panics when a test fails. |