garydgregory commented on a change in pull request #114: URL: https://github.com/apache/commons-crypto/pull/114#discussion_r537046441
########## File path: src/test/java/org/apache/commons/crypto/stream/PositionedCryptoInputStreamTest.java ########## @@ -247,7 +250,7 @@ private void testSeekFailed(final String cipherClass, final int position, final getCipher(cipherClass), bufferSize); try { in.seek(position); - Assert.fail("Excepted exception for cannot seek to negative offset."); + fail("Excepted exception for cannot seek to negative offset."); } catch (final IllegalArgumentException iae) { Review comment: Hi @arturobernalg Thank you for your PR. If we go to JUnit 5, then let's remove this pattern with `assertThrows()` WDYT? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org