Skip to content

Commit

Permalink
Merge branch '2.7.x' into 3.0.x
Browse files Browse the repository at this point in the history
Closes gh-37544
  • Loading branch information
wilkinsona committed Sep 22, 2023
2 parents 28f4d77 + 6936d7e commit 3338206
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ void runWithJarFileThatWouldWriteEntriesOutsideDestinationFails() throws Excepti
}
});
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");
Expand Down

0 comments on commit 3338206

Please sign in to comment.