Extend the no-el test to cover deferred expressions
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 7 Mar 2010 20:29:39 +0000 (20:29 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 7 Mar 2010 20:29:39 +0000 (20:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@920092 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/jasper/compiler/TestJspConfig.java
test/webapp-2.3/no-el.jsp

index 9dce88e..0695aa9 100644 (file)
@@ -41,6 +41,7 @@ public class TestJspConfig extends TomcatBaseTest {
         String result = res.toString();
         
         assertTrue(result.indexOf("<p>00-${'hello world'}</p>") > 0);
+        assertTrue(result.indexOf("<p>01-#{'hello world'}</p>") > 0);
     }
 
 }
index f48e114..9b47cc0 100644 (file)
@@ -17,5 +17,6 @@
 <html>
   <body>
     <p>00-${'hello world'}</p>
+    <p>01-#{'hello world'}</p>
   </body>
 </html>
\ No newline at end of file