diff --git a/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java b/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java index 4e0da0521e2..23ac04f3233 100644 --- a/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java @@ -460,7 +460,8 @@ public class ConfigFileApplicationListenerTests { @Test public void absoluteResourceDefaultsToFile() throws Exception { - String location = new File("src/test/resources/specificlocation.properties").getAbsolutePath(); + String location = new File("src/test/resources/specificlocation.properties") + .getAbsolutePath(); EnvironmentTestUtils.addEnvironment(this.environment, "spring.config.location:" + location); this.initializer.onApplicationEvent(this.event);