Blame SOURCES/001-Fix-tests.patch

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