(ctx context.Context, str string)
| 150 | } |
| 151 | |
| 152 | func (e *Expecter) ExpectRegexMatch(ctx context.Context, str string) string { |
| 153 | return e.expectMatcherFunc(ctx, str, func(src, pattern string) bool { |
| 154 | return regexp.MustCompile(pattern).MatchString(src) |
| 155 | }) |
| 156 | } |
| 157 | |
| 158 | func (e *Expecter) expectMatcherFunc(ctx context.Context, str string, fn func(src, pattern string) bool) string { |
| 159 | e.t.Helper() |
nothing calls this directly
no test coverage detected