mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Merge pull request #147 from oshogbo:matcher2
PiperOrigin-RevId: 435267982 Change-Id: I8f877da70282df9192be4cfe43d74d1539b9824f
This commit is contained in:
commit
97b3a9e325
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user