Browse Source

Merge branch '3.1.x'

Closes gh-37546
pull/37559/head
Andy Wilkinson 3 years ago
parent
commit
af495b2dc0
  1. 1
      spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/src/test/java/org/springframework/boot/jarmode/layertools/ExtractCommandTests.java

1
spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/src/test/java/org/springframework/boot/jarmode/layertools/ExtractCommandTests.java

@ -167,6 +167,7 @@ class ExtractCommandTests { @@ -167,6 +167,7 @@ class ExtractCommandTests {
}
});
given(this.context.getArchiveFile()).willReturn(this.jarFile);
given(this.context.getWorkingDir()).willReturn(this.extract);
assertThatIllegalStateException()
.isThrownBy(() -> this.command.run(Collections.emptyMap(), Collections.emptyList()))
.withMessageContaining("Entry 'e/../../e.jar' would be written");

Loading…
Cancel
Save