Skip to content

Commit a0abd63

Browse files
authored
Fix the build (#12579)
1 parent 2371589 commit a0abd63

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

instrumentation/resources/library/src/test/java/io/opentelemetry/instrumentation/resources/JarServiceNameDetectorTest.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ void createResource_processHandleJarExtraFlag() {
8282

8383
Resource resource = serviceNameProvider.createResource(config);
8484

85-
assertThat(resource.getAttributes())
86-
.hasSize(1)
87-
.containsEntry(ServiceAttributes.SERVICE_NAME, "my-service");
85+
assertThat(resource.getAttributes()).hasSize(1).containsEntry(SERVICE_NAME, "my-service");
8886
}
8987

9088
@Test

0 commit comments

Comments
 (0)