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

Method fatalf

testutil/expecter/expecter.go:347–355  ·  view source on GitHub ↗
(reason string, format string, args ...interface{})

Source from the content-addressed store, hash-verified

345}
346
347func (e *Expecter) fatalf(reason string, format string, args ...interface{}) {
348 e.t.Helper()
349
350 // Ensure the message is part of the normal log stream before
351 // failing the test.
352 e.Logf("%s: %s", reason, fmt.Sprintf(format, args...))
353
354 require.FailNowf(e.t, reason, format, args...)
355}

Callers 6

CloseMethod · 0.95
expectMatcherFuncMethod · 0.95
ExpectNoMatchBeforeMethod · 0.95
PeekMethod · 0.95
ReadRuneMethod · 0.95
ReadLineMethod · 0.95

Calls 2

LogfMethod · 0.95
HelperMethod · 0.65

Tested by

no test coverage detected