Merge pull request #147 from oshogbo:matcher2

PiperOrigin-RevId: 435267982
Change-Id: I8f877da70282df9192be4cfe43d74d1539b9824f
This commit is contained in:
Copybara-Service 2022-03-17 00:13:21 -07:00
commit 97b3a9e325

View File

@ -23,6 +23,8 @@
#include "absl/types/optional.h"
#include "sandboxed_api/util/status_macros.h"
#define SAPI_ASSERT_OK(expr) ASSERT_THAT(expr, ::sapi::IsOk())
#define SAPI_ASSERT_OK_AND_ASSIGN(lhs, rexpr) \
SAPI_ASSERT_OK_AND_ASSIGN_IMPL( \
SAPI_MACROS_IMPL_CONCAT(_sapi_statusor, __LINE__), lhs, rexpr)