Blame SOURCES/001-Fix-tests.patch

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