Blame SOURCES/001-Fix-tests.patch

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