Author: markt
Date: Sat Jan 18 21:33:21 2014
New Revision: 1559424

URL: http://svn.apache.org/r1559424
Log:
Add the test case from bug 56031 as it suggested there may be further issues - 
there were not

Modified:
    tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java

Modified: tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java?rev=1559424&r1=1559423&r2=1559424&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java (original)
+++ tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java Sat Jan 18 
21:33:21 2014
@@ -127,6 +127,10 @@ public class TestELParser {
         doTestParser(" $ { do:it( a eq 1 ? true : false, y ) } ");
     }
 
+    @Test
+    public void testTernaryBug56031() throws JasperException {
+        doTestParser("${my:link(!empty registration ? registration : 
'/test/registration')}");
+    }
 
     private void doTestParser(String input) throws JasperException {
         Nodes nodes = ELParser.parse(input, false);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to