| 318 | // Returns a matcher that matches the value of a successful Result<T>. |
| 319 | template <typename ValueMatcher> |
| 320 | ResultMatcher<ValueMatcher> ResultWith(const ValueMatcher& value_matcher) { |
| 321 | return ResultMatcher<ValueMatcher>(value_matcher); |
| 322 | } |
| 323 | |
| 324 | // Returns a matcher that matches an ok Status or Result<T>. |
| 325 | inline OkMatcher Ok() { return {}; } |
no outgoing calls