Closed copybara-service[bot] closed 1 week ago
Add a matcher to test cel::StructValue against a protobuf message.
This facilitates testing the content of a StructValue when its type matches a protobuf message, instead of testing every individual field.
Example usage:
ASSERT_THAT(l, StructValueAsProto(EqualsProto("my_int: 42")));
Add a matcher to test cel::StructValue against a protobuf message.
This facilitates testing the content of a StructValue when its type matches a protobuf message, instead of testing every individual field.
Example usage:
ASSERT_THAT(l, StructValueAsProto(EqualsProto("my_int: 42")));