Polish
This commit is contained in:
@@ -44,8 +44,8 @@ public class ConfigurationProcessorIntegrationTests {
|
||||
"META-INF/spring-configuration-metadata.json");
|
||||
assertThat(resource.exists()).isTrue();
|
||||
// Make sure the right file is detected
|
||||
assertThat(resource.getURL().toString()).contains(
|
||||
"spring-boot-configuration-processor-tests");
|
||||
assertThat(resource.getURL().toString())
|
||||
.contains("spring-boot-configuration-processor-tests");
|
||||
repository = ConfigurationMetadataRepositoryJsonBuilder
|
||||
.create(resource.getInputStream()).build();
|
||||
|
||||
@@ -53,8 +53,8 @@ public class ConfigurationProcessorIntegrationTests {
|
||||
|
||||
@Test
|
||||
public void extractTypeFromAnnotatedGetter() {
|
||||
ConfigurationMetadataProperty property = repository.getAllProperties().get(
|
||||
"annotated.name");
|
||||
ConfigurationMetadataProperty property = repository.getAllProperties()
|
||||
.get("annotated.name");
|
||||
assertThat(property).isNotNull();
|
||||
assertThat(property.getType()).isEqualTo("java.lang.String");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user