Skip to content

Commit

Permalink
Fix the build (open-telemetry#12579)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored and Alex Kats committed Nov 21, 2024
1 parent 4b8f469 commit 732e20f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ void createResource_processHandleJarExtraFlag() {

Resource resource = serviceNameProvider.createResource(config);

assertThat(resource.getAttributes())
.hasSize(1)
.containsEntry(ServiceAttributes.SERVICE_NAME, "my-service");
assertThat(resource.getAttributes()).hasSize(1).containsEntry(SERVICE_NAME, "my-service");
}

@Test
Expand Down

0 comments on commit 732e20f

Please sign in to comment.