(reason string, format string, args ...interface{})
| 370 | } |
| 371 | |
| 372 | func (e *outExpecter) fatalf(reason string, format string, args ...interface{}) { |
| 373 | e.t.Helper() |
| 374 | |
| 375 | // Ensure the message is part of the normal log stream before |
| 376 | // failing the test. |
| 377 | e.logf("%s: %s", reason, fmt.Sprintf(format, args...)) |
| 378 | |
| 379 | require.FailNowf(e.t, reason, format, args...) |
| 380 | } |
| 381 | |
| 382 | type PTY struct { |
| 383 | outExpecter |
no test coverage detected