-
#include "tensorstore/util/status_testutil.h" -
auto tensorstore::MatchesStatus(absl::StatusCode status_code,
const std::string& message_pattern); Returns a gMock matcher that matches an
absl::Status,Result, orFuturewhose status code equalsstatus_codeand whose error message matches the regular expressionmessage_pattern.