Skip to content

Commit e1306fb

Browse files
authored
test: allowlist to include module-info (#5600)
1 parent aeae899 commit e1306fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/src/test/java/com/google/cloud/BomContentTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,10 @@ private static void assertUniqueClasses(List<Artifact> allArtifacts)
139139
if (className.contains("javax.annotation")
140140
|| className.contains("$")
141141
|| className.endsWith("package-info")
142+
|| className.endsWith("module-info")
142143
|| className.equals("com.google.cloud.location.LocationsGrpc")
143144
|| className.equals("com.google.gwt.core.client.UnsafeNativeLong")) {
144-
// Ignore annotations, nested classes, and package-info files.
145+
// Ignore annotations, nested classes, module-info and package-info files.
145146
// Ignore LocationsGrpc classes which are duplicated in generated grpc libraries.
146147
// Ignore GWT's UnsafeNativeLong, which appear in om.google.gwt:gwt-dev:2.9.0 and
147148
// com.google.jsinterop:base:1.0.0.

0 commit comments

Comments
 (0)