llpc/unittests/util/testError.cpp
TEST(ResultErrorTest, ReportErrorUnknownType) {
  // Check that `reportError` handled `Error`s different than `ResultError`.
  Error err = createStringError(std::make_error_code(std::errc::state_not_recoverable), "ReportErrorUnknownType");
  EXPECT_EQ(reportError(std::move(err)), Result::ErrorUnknown);
}
// This tests prints an error message to stderr. This is expected.
This tests prints an error message to stderr. This is expected.
This tests prints an error message to stderr . This is expected .
TEST(ResultErrorTest, ReportErrorUnknownType) {
  Error err = createStringError(std::make_error_code(std::errc::state_not_recoverable), "ReportErrorUnknownType");
  EXPECT_EQ(reportError(std::move(err)), Result::ErrorUnknown);
}
TEST ( ResultErrorTest , ReportErrorUnknownType ) { Error err = createStringError ( std :: make_error_code ( std :: errc :: state_not_recoverable ) , " " ) ; EXPECT_EQ ( reportError ( std :: move ( err ) ) , Result :: ErrorUnknown ) ; }
This tests prints an error message to stderr.
This tests prints an error message to stderr .
// Check that `reportError` handled `Error`s different than `ResultError`.