You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/05/06 00:37:07 UTC
[commons-compress] branch master updated: Fix weird test pattern.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push:
new afa14ea0 Fix weird test pattern.
afa14ea0 is described below
commit afa14ea0fe5c65ab923080ccded72678979563fa
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu May 5 20:36:29 2022 -0400
Fix weird test pattern.
---
.../java/org/apache/commons/compress/archivers/tar/TarFileTest.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarFileTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarFileTest.java
index 9dadb1b8..73421ea5 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar/TarFileTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/tar/TarFileTest.java
@@ -81,10 +81,9 @@ public class TarFileTest extends AbstractTestCase {
}
@Test
- public void testCompress197() {
+ public void testCompress197() throws IOException {
try (final TarFile tarFile = new TarFile(getPath("COMPRESS-197.tar"))) {
- } catch (final IOException e) {
- fail("COMPRESS-197: " + e.getMessage());
+ // noop
}
}