MCPcopy Create free account
hub / github.com/stretchr/testify / Errorf

Method Errorf

assert/assertions.go:1968–1970  ·  view source on GitHub ↗

Errorf collects the error.

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

1966
1967// Errorf collects the error.
1968func (c *CollectT) Errorf(format string, args ...interface{}) {
1969 c.errors = append(c.errors, fmt.Errorf(format, args...))
1970}
1971
1972// FailNow stops execution by calling runtime.Goexit.
1973func (c *CollectT) FailNow() {

Callers

nothing calls this directly

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected