MCPcopy Index your code
hub / github.com/coder/coder / Errorf

Method Errorf

testutil/retry.go:147–151  ·  view source on GitHub ↗

Errorf implements testing.TB. Errorf is equivalent to Logf followed by Fail.

(format string, args ...any)

Source from the content-addressed store, hash-verified

145
146// Errorf implements testing.TB. Errorf is equivalent to Logf followed by Fail.
147func (t *fakeT) Errorf(format string, args ...any) {
148 t.T.Helper()
149 t.T.Logf(format, args...)
150 t.Fail()
151}
152
153// Fail implements testing.TB. Fail marks the function as having failed but
154// continues execution.

Callers 15

ValidateMethod · 0.45
ParseFunction · 0.45
GetNetworkingStackFunction · 0.45
GetNetworkingStackFunction · 0.45
newSpeakerFunction · 0.45
unaryRPCMethod · 0.45
handshakeFunction · 0.45
validateHeaderFunction · 0.45
sendReplyMethod · 0.45
GetNetworkingStackFunction · 0.45
NewBidirectionalPipeFunction · 0.45
ReadMethod · 0.45

Calls 3

FailMethod · 0.95
HelperMethod · 0.65
LogfMethod · 0.65

Tested by 15

updateHelmDependenciesFunction · 0.36
runHelmTemplateFunction · 0.36
updateHelmDependenciesFunction · 0.36
runHelmTemplateFunction · 0.36
TestSimpleFunction · 0.36
verifyTracesFunction · 0.36
TestCoordinatorFunction · 0.36
TestGroupSyncFunction · 0.36
getTemplateByIDFunction · 0.36
TestTemplateAccessFunction · 0.36