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

Method Errorf

assert/assertions_test.go:3181–3183  ·  view source on GitHub ↗
(format string, args ...interface{})

Source from the content-addressed store, hash-verified

3179}
3180
3181func (ctt *captureTestingT) Errorf(format string, args ...interface{}) {
3182 ctt.msg = fmt.Sprintf(format, args...)
3183}
3184
3185func (ctt *captureTestingT) checkResultAndErrMsg(t *testing.T, expectedRes, res bool, expectedErrMsg string) {
3186 t.Helper()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected