Skip to content

Commit

Permalink
Fix tests to also work in IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Jan 13, 2021
1 parent a9e711e commit 6c2ff56
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -304,7 +304,7 @@ void packagedApplicationClasspath() throws IOException {
assertThat(output).containsPattern("1\\. .*classes");
assertThat(output).containsPattern("2\\. .*library-1.0-SNAPSHOT.jar");
assertThat(output).containsPattern("3\\. .*commons-lang3-3.9.jar");
assertThat(output).containsPattern("4\\. .*spring-boot-jarmode-layertools-.*.jar");
assertThat(output).containsPattern("4\\. .*spring-boot-jarmode-layertools.*.jar");
assertThat(output).doesNotContain("5. ");
}

Expand All @@ -314,7 +314,7 @@ void explodedApplicationClasspath() throws IOException {
BuildResult result = this.gradleBuild.build("launch");
String output = result.getOutput();
assertThat(output).containsPattern("1\\. .*classes");
assertThat(output).containsPattern("2\\. .*spring-boot-jarmode-layertools-.*.jar");
assertThat(output).containsPattern("2\\. .*spring-boot-jarmode-layertools.*.jar");
assertThat(output).containsPattern("3\\. .*library-1.0-SNAPSHOT.jar");
assertThat(output).containsPattern("4\\. .*commons-lang3-3.9.jar");
assertThat(output).doesNotContain("5. ");
Expand Down

0 comments on commit 6c2ff56

Please sign in to comment.