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

Method Fatalf

testutil/retry.go:192–196  ·  view source on GitHub ↗

Fatalf implements testing.TB. Fatalf is equivalent to Logf followed by FailNow.

(format string, args ...any)

Source from the content-addressed store, hash-verified

190// Fatalf implements testing.TB. Fatalf is equivalent to Logf followed by
191// FailNow.
192func (t *fakeT) Fatalf(format string, args ...any) {
193 t.T.Helper()
194 t.T.Logf(format, args...)
195 t.FailNow()
196}
197
198// Helper is proxied to the original *testing.T. This is to avoid the fake
199// method appearing in the call stack.

Calls 3

FailNowMethod · 0.95
HelperMethod · 0.65
LogfMethod · 0.65