(t *testing.T)
| 41 | } |
| 42 | |
| 43 | func TestReporter_RequireReporter(t *testing.T) { |
| 44 | mockBackend := &mockRequireT{} |
| 45 | reporter := NewRequireReporter(mockBackend) |
| 46 | |
| 47 | reporter.Errorf("test") |
| 48 | assert.True(t, mockBackend.failNowInvoked) |
| 49 | } |
| 50 | |
| 51 | func TestReporter_FatalReporter(t *testing.T) { |
| 52 | mockBackend := &mockT{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…