CollectT implements the TestingT interface and collects all errors.
| 2022 | |
| 2023 | // CollectT implements the TestingT interface and collects all errors. |
| 2024 | type CollectT struct { |
| 2025 | // A slice of errors. Non-nil slice denotes a failure. |
| 2026 | // If it's non-nil but len(c.errors) == 0, this is also a failure |
| 2027 | // obtained by direct c.FailNow() call. |
| 2028 | errors []error |
| 2029 | } |
| 2030 | |
| 2031 | // Helper is like [testing.T.Helper] but does nothing. |
| 2032 | func (CollectT) Helper() {} |
nothing calls this directly
no outgoing calls
no test coverage detected