mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Merge branch '3.1.x'
Closes gh-37546
This commit is contained in:
commit
af495b2dc0
@ -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…
Reference in New Issue
Block a user