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

Method ExpectRegexMatch

pty/ptytest/ptytest.go:159–161  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

157}
158
159func (e *outExpecter) ExpectRegexMatch(str string) string {
160 return e.expectMatchContextFunc(str, e.ExpectRegexMatchContext)
161}
162
163func (e *outExpecter) expectMatchContextFunc(str string, fn func(ctx context.Context, str string) string) string {
164 e.t.Helper()

Callers 4

TestTemplatePresetsFunction · 0.45
TestPingFunction · 0.45
TestProvisionerJobFunction · 0.45
TestExternalWorkspacesFunction · 0.45

Calls 1

Tested by 4

TestTemplatePresetsFunction · 0.36
TestPingFunction · 0.36
TestProvisionerJobFunction · 0.36
TestExternalWorkspacesFunction · 0.36