We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dee153 commit bb50cadCopy full SHA for bb50cad
absl/status/internal/status_matchers.h
@@ -69,8 +69,8 @@ class IsOkAndHoldsMatcherImpl
69
bool MatchAndExplain(
70
StatusOrType actual_value,
71
::testing::MatchResultListener* result_listener) const override {
72
- if (!actual_value.ok()) {
73
- *result_listener << "which has status " << actual_value.status();
+ if (!GetStatus(actual_value).ok()) {
+ *result_listener << "which has status " << GetStatus(actual_value);
74
return false;
75
}
76
0 commit comments