Commit 1815bb5b authored by Phillip Webb's avatar Phillip Webb

Fix Windows test failures

parent 61b7e6f3
......@@ -604,7 +604,7 @@ public class ConfigFileApplicationListenerTests {
@Test
public void absoluteResourceDefaultsToFile() throws Exception {
String location = new File("src/test/resources/specificlocation.properties")
.getAbsolutePath();
.getAbsolutePath().replace("\\", "/");
TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.environment,
"spring.config.location=" + location);
this.initializer.postProcessEnvironment(this.environment, this.application);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment