Commit 915eaf34 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish

parent 746cc0f7
......@@ -170,9 +170,13 @@ public class JarFileTests {
@Test
public void getSize() throws Exception {
try (ZipFile zip = new ZipFile(this.rootJarFile)) {
ZipFile zip = new ZipFile(this.rootJarFile);
try {
assertThat(this.jarFile.size()).isEqualTo(zip.size());
}
finally {
zip.close();
}
}
@Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment