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

Method fail

assert/assertions.go:2055–2059  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2053}
2054
2055func (c *CollectT) fail() {
2056 if !c.failed() {
2057 c.errors = []error{} // Make it non-nil to mark a failure.
2058 }
2059}
2060
2061func (c *CollectT) failed() bool {
2062 return c.errors != nil

Callers 1

FailNowMethod · 0.95

Calls 1

failedMethod · 0.95

Tested by

no test coverage detected