diff options
Diffstat (limited to 'test/util/posix_error.cc')
-rw-r--r-- | test/util/posix_error.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/util/posix_error.cc b/test/util/posix_error.cc index 9db72c6de..7b4b3524d 100644 --- a/test/util/posix_error.cc +++ b/test/util/posix_error.cc @@ -74,15 +74,10 @@ bool PosixErrorIsMatcherCommonImpl::MatchAndExplain( inner_listener.Clear(); if (!code_matcher_.MatchAndExplain(error.errno_value(), &inner_listener)) { - *result_listener << (inner_listener.str().empty() - ? "whose errno value is wrong" - : "which has a errno value " + - inner_listener.str()); return false; } if (!message_matcher_.Matches(error.error_message())) { - *result_listener << "whose error message is wrong"; return false; } |