(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func TestErrorCollectorError_NoErrors(t *testing.T) { |
| 96 | collector := NewErrorCollector(false) |
| 97 | |
| 98 | err := collector.Error() |
| 99 | assert.NoError(t, err, "Should return nil when no errors collected") |
| 100 | } |
| 101 | |
| 102 | func TestErrorCollectorError_SingleError(t *testing.T) { |
| 103 | collector := NewErrorCollector(false) |
nothing calls this directly
no test coverage detected