| 33 | namespace cel_conformance { |
| 34 | |
| 35 | inline std::string DescribeMessage(const google::protobuf::Message& message) { |
| 36 | std::string string; |
| 37 | ABSL_CHECK(google::protobuf::TextFormat::PrintToString(message, &string)); |
| 38 | if (string.empty()) { |
| 39 | string = "\"\"\n"; |
| 40 | } |
| 41 | return string; |
| 42 | } |
| 43 | |
| 44 | MATCHER_P(MatchesConformanceValue, expected, "") { |
| 45 | static auto* kFieldComparator = []() { |