Internal cleanup migrating StatusOr.

PiperOrigin-RevId: 329720018
This commit is contained in:
leveldb Team 2020-09-02 15:45:40 +00:00 committed by Victor Costan
parent 1454924aac
commit b7d3023269

View File

@ -18,7 +18,7 @@ namespace test {
MATCHER(IsOK, "") { return arg.ok(); } MATCHER(IsOK, "") { return arg.ok(); }
// Macros for testing the results of functions that return leveldb::Status or // Macros for testing the results of functions that return leveldb::Status or
// util::StatusOr<T> (for any type T). // absl::StatusOr<T> (for any type T).
#define EXPECT_LEVELDB_OK(expression) \ #define EXPECT_LEVELDB_OK(expression) \
EXPECT_THAT(expression, leveldb::test::IsOK()) EXPECT_THAT(expression, leveldb::test::IsOK())
#define ASSERT_LEVELDB_OK(expression) \ #define ASSERT_LEVELDB_OK(expression) \