#include "tensorstore/util/status_testutil.h"
TENSORSTORE_EXPECT_OK(expr);

EXPECT assertion that the argument, when converted to an absl::Status via tensorstore::GetStatus, has a code of absl::StatusCode::kOk.

Example:

absl::Status DoSomething();
tensorstore::Result<int> GetResult();

TENSORSTORE_EXPECT_OK(DoSomething());
TENSORSTORE_EXPECT_OK(GetResult());