Polish tests

This commit is contained in:
Moritz Halbritter
2023-08-08 09:46:15 +02:00
parent 4ea3c75331
commit 7bb337aeb1
21 changed files with 58 additions and 59 deletions

View File

@@ -220,7 +220,7 @@ class JarFileTests {
@Test
void size() throws Exception {
try (ZipFile zip = new ZipFile(this.rootJarFile)) {
assertThat(this.jarFile.size()).isEqualTo(zip.size());
assertThat(this.jarFile).hasSize(zip.size());
}
}