You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by me...@apache.org on 2016/09/18 17:51:10 UTC
jspwiki git commit: check cause (not exception) for the failing
mailutiltest
Repository: jspwiki
Updated Branches:
refs/heads/master c94e910eb -> fbf0008a4
check cause (not exception) for the failing mailutiltest
Project: http://git-wip-us.apache.org/repos/asf/jspwiki/repo
Commit: http://git-wip-us.apache.org/repos/asf/jspwiki/commit/fbf0008a
Tree: http://git-wip-us.apache.org/repos/asf/jspwiki/tree/fbf0008a
Diff: http://git-wip-us.apache.org/repos/asf/jspwiki/diff/fbf0008a
Branch: refs/heads/master
Commit: fbf0008a47db5d7946a86d8aa5ba7af192c61094
Parents: c94e910
Author: Harry Metske <me...@apache.org>
Authored: Sun Sep 18 19:50:57 2016 +0200
Committer: Harry Metske <me...@apache.org>
Committed: Sun Sep 18 19:50:57 2016 +0200
----------------------------------------------------------------------
jspwiki-war/src/test/java/org/apache/wiki/util/MailUtilTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jspwiki/blob/fbf0008a/jspwiki-war/src/test/java/org/apache/wiki/util/MailUtilTest.java
----------------------------------------------------------------------
diff --git a/jspwiki-war/src/test/java/org/apache/wiki/util/MailUtilTest.java b/jspwiki-war/src/test/java/org/apache/wiki/util/MailUtilTest.java
index 19b62f6..cd460ba 100644
--- a/jspwiki-war/src/test/java/org/apache/wiki/util/MailUtilTest.java
+++ b/jspwiki-war/src/test/java/org/apache/wiki/util/MailUtilTest.java
@@ -122,7 +122,7 @@ public class MailUtilTest extends TestCase
System.out.println("Reason: "+e.getMessage());
return;
}
- if( e == null )
+ if( e.getCause() == null )
{
System.out.println("Reason: "+e.getMessage());
System.out.println("I could not test whether mail sending works, we let the test pass anyway.");