Merge branch '3.0.x' into 3.1.x

Closes gh-37545
3.1.x
Andy Wilkinson 1 year ago
commit e4d8b22403

@ -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