Skip to content

Commit 64c1b40

Browse files
Abseil Teamcopybara-github
authored andcommitted
Avoid ADL calls with StatusIs() in absl/status/status_matchers.h
PiperOrigin-RevId: 873033389 Change-Id: I178e5d822e616b0374e48109a964f1d1a582d841
1 parent a62029e commit 64c1b40

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

absl/status/status_matchers.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ status_internal::StatusIsMatcher StatusIs(
129129
// code matches code_matcher. See above for details.
130130
template <typename StatusCodeMatcherT>
131131
status_internal::StatusIsMatcher StatusIs(StatusCodeMatcherT&& code_matcher) {
132-
return StatusIs(std::forward<StatusCodeMatcherT>(code_matcher), ::testing::_);
132+
return absl_testing::StatusIs(std::forward<StatusCodeMatcherT>(code_matcher),
133+
::testing::_);
133134
}
134135

135136
// Returns a gMock matcher that matches a Status or StatusOr<> which is OK.

0 commit comments

Comments
 (0)