MCPcopy Index your code
hub / github.com/tinygo-org/tinygo / Error

Method Error

src/testing/testing.go:251–254  ·  view source on GitHub ↗

Error is equivalent to Log followed by Fail.

(args ...interface{})

Source from the content-addressed store, hash-verified

249
250// Error is equivalent to Log followed by Fail.
251func (c *common) Error(args ...interface{}) {
252 c.log(fmt.Sprintln(args...))
253 c.Fail()
254}
255
256// Errorf is equivalent to Logf followed by Fail.
257func (c *common) Errorf(format string, args ...interface{}) {

Callers 2

FailNowMethod · 0.95
SkipNowMethod · 0.95

Calls 2

logMethod · 0.95
FailMethod · 0.95

Tested by

no test coverage detected