james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1241452 - /james/server/trunk/data-library/src/test/java/org/apache/james/domainlist/lib/AbstractDomainListTest.java
Date Tue, 07 Feb 2012 13:06:20 GMT
Author: eric
Date: Tue Feb  7 13:06:20 2012
New Revision: 1241452

URL: http://svn.apache.org/viewvc?rev=1241452&view=rev
Log:
Small fix in test assertion (JAMES-1369)

Modified:
    james/server/trunk/data-library/src/test/java/org/apache/james/domainlist/lib/AbstractDomainListTest.java

Modified: james/server/trunk/data-library/src/test/java/org/apache/james/domainlist/lib/AbstractDomainListTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/data-library/src/test/java/org/apache/james/domainlist/lib/AbstractDomainListTest.java?rev=1241452&r1=1241451&r2=1241452&view=diff
==============================================================================
--- james/server/trunk/data-library/src/test/java/org/apache/james/domainlist/lib/AbstractDomainListTest.java
(original)
+++ james/server/trunk/data-library/src/test/java/org/apache/james/domainlist/lib/AbstractDomainListTest.java
Tue Feb  7 13:06:20 2012
@@ -102,12 +102,12 @@ public abstract class AbstractDomainList
         assertEquals(1, domainList.getDomains().length);
         try {
             domainList.addDomain(DOMAIN_1_UPPER_CASE);
+            Assert.fail("We should not be able to insert same domains, even with different
cases");
         }
         catch (DomainListException domainListException) {
             Assert.assertTrue(domainListException.getMessage().contains(DOMAIN_1));
             return;
         }
-        Assert.fail("We should not be able to insert same domains, even with different caxes");
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message