MCPcopy
hub / github.com/tinygo-org/tinygo / Errorf

Method Errorf

src/testing/testing.go:257–260  ·  view source on GitHub ↗

Errorf is equivalent to Logf followed by Fail.

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

Source from the content-addressed store, hash-verified

255
256// Errorf is equivalent to Logf followed by Fail.
257func (c *common) Errorf(format string, args ...interface{}) {
258 c.log(fmt.Sprintf(format, args...))
259 c.Fail()
260}
261
262// Fatal is equivalent to Log followed by FailNow.
263func (c *common) Fatal(args ...interface{}) {

Callers 1

TempDirMethod · 0.95

Calls 2

logMethod · 0.95
FailMethod · 0.95

Tested by

no test coverage detected