Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > a917f13f40717b0b66d7891213606d06 > files > 2

apache-commons-jexl-2.1.1-20.mga7.src.rpm

Description: Fix a test failure with JUnit 4.11 due to the out of order
 execution of the test methods. This issue is fixed in JEXL 3.
Author: Emmanuel Bourg
Forwarded: not-needed
--- a/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java
+++ b/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java
@@ -137,6 +137,7 @@
      * test some simple mathematical calculations
      */
     public void testCalculations() throws Exception {
+        JexlThreadedArithmetic.setLenient(Boolean.TRUE);
 
         asserter.setVariable("foo", new Integer(2));
 
@@ -347,4 +348,4 @@
         }
         debuggerCheck(jexl);
     }
-}
\ No newline at end of file
+}