Le 31/05/2013 19:14, sebb a écrit :
> Looks like the problem might be the engine settings; divide by 0 will
> throw an error in strict mode (lenient=false)

That's the missing piece of the puzzle. testDivideByZero is declared
after testCalculations but is executed before with JUnit 4.11.
testDivideByZero sets lenient=false, thus causing testCalculations to fail.

Setting lenient=true at the beginning of testCalculations solves the
issue, JEXL 3 already does that.

Thanks all for your help!

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to