commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject [jexl] Test failing with JUnit 4.11
Date Fri, 31 May 2013 13:59:49 GMT
Hi,

I observed a test failure using JUnit 4.11 with the JEXL 2.x tests:

Tests in error:
  testCalculations(org.apache.commons.jexl2.ArithmeticTest):
org.apache.commons.jexl2.junit.Asserter.assertExpression@95![0,5]: '3 /
0;' divide error


This doesn't happen with JUnit 4.10. JEXL 3 doesn't seem to be affected.

After looking at the code I don't understand why the evaluation of the
expression is affected by the version of JUnit used.

What's the trick?


Emmanuel Bourg


Mime
View raw message