Skip to content

Commit 6c2ff56

Browse files
committed
Fix tests to also work in IDE
1 parent a9e711e commit 6c2ff56

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void packagedApplicationClasspath() throws IOException {
304304
assertThat(output).containsPattern("1\\. .*classes");
305305
assertThat(output).containsPattern("2\\. .*library-1.0-SNAPSHOT.jar");
306306
assertThat(output).containsPattern("3\\. .*commons-lang3-3.9.jar");
307-
assertThat(output).containsPattern("4\\. .*spring-boot-jarmode-layertools-.*.jar");
307+
assertThat(output).containsPattern("4\\. .*spring-boot-jarmode-layertools.*.jar");
308308
assertThat(output).doesNotContain("5. ");
309309
}
310310

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

0 commit comments

Comments
 (0)