Blame SOURCES/001-Fix-tests.patch

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