MCPcopy
hub / github.com/stretchr/testify / CollectT

Struct CollectT

assert/assertions.go:2024–2029  ·  view source on GitHub ↗

CollectT implements the TestingT interface and collects all errors.

Source from the content-addressed store, hash-verified

2022
2023// CollectT implements the TestingT interface and collects all errors.
2024type 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.
2032func (CollectT) Helper() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected