Internal cleanup migrating StatusOr.
PiperOrigin-RevId: 329720018
This commit is contained in:
parent
1454924aac
commit
b7d3023269
@ -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) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user