(reason string, format string, args ...interface{})
| 345 | } |
| 346 | |
| 347 | func (e *Expecter) fatalf(reason string, format string, args ...interface{}) { |
| 348 | e.t.Helper() |
| 349 | |
| 350 | // Ensure the message is part of the normal log stream before |
| 351 | // failing the test. |
| 352 | e.Logf("%s: %s", reason, fmt.Sprintf(format, args...)) |
| 353 | |
| 354 | require.FailNowf(e.t, reason, format, args...) |
| 355 | } |
no test coverage detected