From: markt Date: Sun, 10 Jan 2010 11:54:34 +0000 (+0000) Subject: Rename X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=01f39d13f7dfdba2047c204478cd3e065b3b73e0;p=tomcat7.0 Rename git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897621 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/el/TestELEvaluation.java b/test/org/apache/el/TestELEvaluation.java index e04f39da3..6b0ee57ae 100644 --- a/test/org/apache/el/TestELEvaluation.java +++ b/test/org/apache/el/TestELEvaluation.java @@ -82,6 +82,11 @@ public class TestELEvaluation extends TestCase { assertEquals("false", evaluateExpression("${(true)and(false)}")); } + public void testBug48112() { + // bug 48112 + assertEquals("{world}", evaluateExpression("${fn:trim('{world}')}")); + } + public void testParserLiteralExpression() { // Inspired by work on bug 45451, comments from kkolinko on the dev // list and looking at the spec to find some edge cases @@ -126,11 +131,6 @@ public class TestELEvaluation extends TestCase { assertEquals("\"\\", evaluateExpression("${\"\\\"\\\\\"}")); } - public void testParserFunction() { - // bug 48112 - assertEquals("{world}", evaluateExpression("${fn:trim('{world}')}")); - } - private void compareBoth(String msg, int expected, Object o1, Object o2){ int i1 = ELSupport.compare(o1, o2); int i2 = ELSupport.compare(o2, o1);