errorsCapturingT is a mock implementation of TestingT that captures errors reported with Errorf.
| 2978 | |
| 2979 | // errorsCapturingT is a mock implementation of TestingT that captures errors reported with Errorf. |
| 2980 | type errorsCapturingT struct { |
| 2981 | errors []error |
| 2982 | } |
| 2983 | |
| 2984 | func (t *errorsCapturingT) Errorf(format string, args ...interface{}) { |
| 2985 | t.errors = append(t.errors, fmt.Errorf(format, args...)) |
nothing calls this directly
no outgoing calls
no test coverage detected