mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-10 14:35:59 +01:00
Turn empty catch block into test failure
This commit is contained in:
parent
7a194c517a
commit
5c76f9046f
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
package org.pgpainless.decryption_verification;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
import static org.junit.jupiter.api.Assertions.fail;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
|
@ -71,7 +72,7 @@ public class IgnoreUnknownSignatureVersionsTest {
|
|||
try {
|
||||
cert = PGPainless.readKeyRing().publicKeyRing(CERT);
|
||||
} catch (IOException e) {
|
||||
|
||||
fail("Cannot parse certificate.", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue