Deprecated: use ExpectMatchContext instead. This uses a background context, so will not respect the test's context.
(str string)
| 153 | // Deprecated: use ExpectMatchContext instead. |
| 154 | // This uses a background context, so will not respect the test's context. |
| 155 | func (e *outExpecter) ExpectMatch(str string) string { |
| 156 | return e.expectMatchContextFunc(str, e.ExpectMatchContext) |
| 157 | } |
| 158 | |
| 159 | func (e *outExpecter) ExpectRegexMatch(str string) string { |
| 160 | return e.expectMatchContextFunc(str, e.ExpectRegexMatchContext) |