(t *testing.T)
| 49 | } |
| 50 | |
| 51 | func TestReporter_FatalReporter(t *testing.T) { |
| 52 | mockBackend := &mockT{} |
| 53 | reporter := NewFatalReporter(mockBackend) |
| 54 | |
| 55 | reporter.Errorf("test") |
| 56 | assert.True(t, mockBackend.fatalfInvoked) |
| 57 | } |
| 58 | |
| 59 | func TestReporter_PanicReporter(t *testing.T) { |
| 60 | reporter := NewPanicReporter() |
nothing calls this directly
no test coverage detected
searching dependent graphs…