damondouglas commented on code in PR #24443:
URL: https://github.com/apache/beam/pull/24443#discussion_r1052559756
##########
sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubRowToMessageTest.java:
##########
@@ -820,6 +817,71 @@ public void testSchemaReflection_matchesAll() {
FieldMatcher.of(STRING_FIELD.getName(), TypeName.INT16)));
}
+ @Test
+ public void testSchemaReflection_matchesAny() {
+ SchemaReflection schemaReflection =
SchemaReflection.of(ALL_DATA_TYPES_SCHEMA);
+ assertTrue(
+ schemaReflection.matchesAny(
Review Comment:
The test `.._matchesAny` evaluates `SchemaReflection.matchesAny` there is a
test for `matchesAll` somewhere else in the test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]