Try for a more specific failure message on the assert

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2014-11-06 14:54:02 +00:00
parent 21d90606ab
commit 70177caa04
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ public class TestSignatureInfo {
si.confirmSignature();
boolean b = si.verifySignature();
assertTrue(b);
assertTrue("Signature not correctly calculated for " + ha, b);
} catch (EncryptedDocumentException e) {
// see http://apache-poi.1045710.n5.nabble.com/org-apache-poi-poifs-crypt-TestSignatureInfo-failing-on-trunk-on-Java-6-tp5717032.html
Throwable cause = e.getCause();