theobisproject commented on code in PR #344:
URL: https://github.com/apache/commons-compress/pull/344#discussion_r1057249368


##########
src/test/java/org/apache/commons/compress/archivers/LongPathTest.java:
##########
@@ -142,7 +140,7 @@ public void testArchive(final File file) throws Exception {
         }
         try {
             checkArchiveContent(ais, expected);
-        } catch (final AssertionFailedError e) {
+        } catch (final Exception e) {

Review Comment:
   I'm with you on this one (and the one in the LongSymLinkTest). Just did not 
want to do too much in one go.
   
   If I understand the test correctly we can get rid of the try-catch block 
completely since we do not want the check to throw an exception.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to