Sfoglia il codice sorgente

Internal cleanup migrating StatusOr.

PiperOrigin-RevId: 329720018
naive_version
leveldb Team 4 anni fa
committed by Victor Costan
parent
commit
b7d3023269
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      util/testutil.h

+ 1
- 1
util/testutil.h Vedi File

@ -18,7 +18,7 @@ namespace test {
MATCHER(IsOK, "") { return arg.ok(); }
// 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) \
EXPECT_THAT(expression, leveldb::test::IsOK())
#define ASSERT_LEVELDB_OK(expression) \

Caricamento…
Annulla
Salva