MCPcopy Create free account
hub / github.com/coder/coder / fatalf

Method fatalf

pty/ptytest/ptytest.go:372–380  ·  view source on GitHub ↗
(reason string, format string, args ...interface{})

Source from the content-addressed store, hash-verified

370}
371
372func (e *outExpecter) fatalf(reason string, format string, args ...interface{}) {
373 e.t.Helper()
374
375 // Ensure the message is part of the normal log stream before
376 // failing the test.
377 e.logf("%s: %s", reason, fmt.Sprintf(format, args...))
378
379 require.FailNowf(e.t, reason, format, args...)
380}
381
382type PTY struct {
383 outExpecter

Callers 6

newExpecterFunction · 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