diff options
Diffstat (limited to 'test/util/posix_error.h')
-rw-r--r-- | test/util/posix_error.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/util/posix_error.h b/test/util/posix_error.h index 7fafe01b5..c3306b015 100644 --- a/test/util/posix_error.h +++ b/test/util/posix_error.h @@ -426,7 +426,9 @@ IsPosixErrorOkAndHolds(InnerMatcher&& inner_matcher) { #define RETURN_IF_ERRNO(s) \ do { \ - if (!s.ok()) return s; \ + if (!s.ok()) { \ + return s; \ + } \ } while (false); #define ASSERT_NO_ERRNO_AND_VALUE(expr) \ |