git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@904943
13f79535-47bb-0310-9956-
ffa450edef68
assertTrue(null == null);
}
+ /**
+ * Test mixing ${...} and #{...} in the same expression.
+ */
+ public void testMixedTypes() {
+ // Mixing types should throw an error
+ Exception e = null;
+ try {
+ evaluateExpression("${1+1}#{1+1}");
+ } catch (ELException el) {
+ e = el;
+ }
+ assertNotNull(e);
+ }
+
+
+
// ************************************************************************
private String evaluateExpression(String expression) {