Blame SOURCES/001-Fix-tests.patch

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