From: markt Date: Sun, 7 Mar 2010 20:29:39 +0000 (+0000) Subject: Extend the no-el test to cover deferred expressions X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=acacaf5cd92730cfa79e0686053ff2045d72e8ac;p=tomcat7.0 Extend the no-el test to cover deferred expressions git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@920092 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/jasper/compiler/TestJspConfig.java b/test/org/apache/jasper/compiler/TestJspConfig.java index 9dce88e52..0695aa93c 100644 --- a/test/org/apache/jasper/compiler/TestJspConfig.java +++ b/test/org/apache/jasper/compiler/TestJspConfig.java @@ -41,6 +41,7 @@ public class TestJspConfig extends TomcatBaseTest { String result = res.toString(); assertTrue(result.indexOf("

00-${'hello world'}

") > 0); + assertTrue(result.indexOf("

01-#{'hello world'}

") > 0); } } diff --git a/test/webapp-2.3/no-el.jsp b/test/webapp-2.3/no-el.jsp index f48e1143b..9b47cc04a 100644 --- a/test/webapp-2.3/no-el.jsp +++ b/test/webapp-2.3/no-el.jsp @@ -17,5 +17,6 @@

00-${'hello world'}

+

01-#{'hello world'}

\ No newline at end of file