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

Method Error

testutil/retry.go:140–144  ·  view source on GitHub ↗

Error implements testing.TB. Error is equivalent to Log followed by Fail.

(args ...any)

Source from the content-addressed store, hash-verified

138
139// Error implements testing.TB. Error is equivalent to Log followed by Fail.
140func (t *fakeT) Error(args ...any) {
141 t.T.Helper()
142 t.T.Log(args...)
143 t.Fail()
144}
145
146// Errorf implements testing.TB. Errorf is equivalent to Logf followed by Fail.
147func (t *fakeT) Errorf(format string, args ...any) {

Callers 2

TestFakeSinkFunction · 0.45
isQueryCanceledErrorFunction · 0.45

Calls 3

FailMethod · 0.95
LogMethod · 0.80
HelperMethod · 0.65

Tested by 1

TestFakeSinkFunction · 0.36