Remove assumption about file separator that is incorrect on Windows

Closes gh-11087
pull/11055/head
Andy Wilkinson 7 years ago
parent 578c64644f
commit 417c98304d

@ -128,9 +128,10 @@ public class JavaPluginActionIntegrationTests {
assertThat(result.task(":compileJava").getOutcome()) assertThat(result.task(":compileJava").getOutcome())
.isEqualTo(TaskOutcome.SUCCESS); .isEqualTo(TaskOutcome.SUCCESS);
assertThat(result.getOutput()).contains( assertThat(result.getOutput()).contains(
"compileJava compiler args: [-parameters, -Aorg.springframework.boot.configurationprocessor.additionalMetadataLocations=" "compileJava compiler args: [-parameters, -Aorg.springframework.boot."
+ this.gradleBuild.getProjectDir().getCanonicalPath() + "configurationprocessor.additionalMetadataLocations="
+ "/src/main/resources]"); + new File(this.gradleBuild.getProjectDir(), "src/main/resources")
.getCanonicalPath());
} }
@Test @Test

Loading…
Cancel
Save