lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r891907 - /lucene/java/trunk/src/test/org/apache/lucene/TestAssertions.java
Date Thu, 17 Dec 2009 21:09:47 GMT
Author: uschindler
Date: Thu Dec 17 21:09:46 2009
New Revision: 891907

URL: http://svn.apache.org/viewvc?rev=891907&view=rev
Log:
LUCENE-1769: Add also the opposite assert statement

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/TestAssertions.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/TestAssertions.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/TestAssertions.java?rev=891907&r1=891906&r2=891907&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/TestAssertions.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/TestAssertions.java Thu Dec 17 21:09:46 2009
@@ -26,6 +26,7 @@
       assert Boolean.FALSE.booleanValue();
       fail("assertions are not enabled!");
     } catch (AssertionError e) {
+      assert Boolean.TRUE.booleanValue();
     }
   }
 



Mime
View raw message