jstrachan 2002/10/26 02:26:38 Modified: jexl/src/test/org/apache/commons/jexl JexlTest.java Log: Added another failing test case for Jexl. Revision Changes Path 1.23 +3 -1 jakarta-commons-sandbox/jexl/src/test/org/apache/commons/jexl/JexlTest.java Index: JexlTest.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/jexl/src/test/org/apache/commons/jexl/JexlTest.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- JexlTest.java 26 Oct 2002 09:14:46 -0000 1.22 +++ JexlTest.java 26 Oct 2002 09:26:38 -0000 1.23 @@ -457,6 +457,8 @@ jc.getVars().put("foo", "abcdef"); assertExpression(jc, "foo.substring(3)", "def"); + assertExpression(jc, "foo.substring(0,(size(foo)-3))", "abc"); + assertExpression(jc, "foo.substring(0,size(foo)-3)", "abc"); assertExpression(jc, "foo.substring(0,foo.length()-3)", "abc"); }
-- To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>