Fix the build (#12579)

This commit is contained in:
Trask Stalnaker 2024-11-06 10:23:03 -08:00 committed by GitHub
parent 2371589ec5
commit a0abd638af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -82,9 +82,7 @@ class JarServiceNameDetectorTest {
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