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

Method ExpectMatch

testutil/expecter/expecter.go:148–150  ·  view source on GitHub ↗
(ctx context.Context, str string)

Source from the content-addressed store, hash-verified

146}
147
148func (e *Expecter) ExpectMatch(ctx context.Context, str string) string {
149 return e.expectMatcherFunc(ctx, str, strings.Contains)
150}
151
152func (e *Expecter) ExpectRegexMatch(ctx context.Context, str string) string {
153 return e.expectMatcherFunc(ctx, str, func(src, pattern string) bool {

Callers

nothing calls this directly

Calls 1

expectMatcherFuncMethod · 0.95

Tested by

no test coverage detected