commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1209878 - /commons/proper/jexl/branches/COMMONS_JEXL_2_0_1_TEST/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java
Date Sat, 03 Dec 2011 10:10:09 GMT
Author: sebb
Date: Sat Dec  3 10:10:09 2011
New Revision: 1209878

URL: http://svn.apache.org/viewvc?rev=1209878&view=rev
Log:
Allow for both versions of message

Modified:
    commons/proper/jexl/branches/COMMONS_JEXL_2_0_1_TEST/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java

Modified: commons/proper/jexl/branches/COMMONS_JEXL_2_0_1_TEST/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/COMMONS_JEXL_2_0_1_TEST/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java?rev=1209878&r1=1209877&r2=1209878&view=diff
==============================================================================
--- commons/proper/jexl/branches/COMMONS_JEXL_2_0_1_TEST/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java
(original)
+++ commons/proper/jexl/branches/COMMONS_JEXL_2_0_1_TEST/src/test/java/org/apache/commons/jexl2/ArithmeticTest.java
Sat Dec  3 10:10:09 2011
@@ -78,7 +78,7 @@ public class ArithmeticTest extends Jexl
     public void testNullOperand() throws Exception {
         asserter.setVariable("right", null);
         asserter.failExpression("~right", ".*null.*");
-        asserter.failExpression("-right", ".*arithmetic.*"); // 2.1- new message
+        asserter.failExpression("-right", ".*(arithmetic|number).*"); // 2.1- new message
     }
 
     public void testBigDecimal() throws Exception {



Mime
View raw message