Author: markt
Date: Sun Jul 21 10:59:42 2013
New Revision: 1505337
URL: http://svn.apache.org/r1505337
Log:
Fix tests (still expected to fail until the parser is fixed)
Modified:
tomcat/trunk/test/org/apache/el/stream/TestCollectionOperations.java
Modified: tomcat/trunk/test/org/apache/el/stream/TestCollectionOperations.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/stream/TestCollectionOperations.java?rev=1505337&r1=1505336&r2=1505337&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/el/stream/TestCollectionOperations.java
(original)
+++ tomcat/trunk/test/org/apache/el/stream/TestCollectionOperations.java Sun
Jul 21 10:59:42 2013
@@ -543,7 +543,7 @@ public class TestCollectionOperations {
"[].stream().average().orElseGet(()->10)",
Object.class);
- ((Optional) result).get();
+ Assert.assertEquals(Long.valueOf(10), result);
}
@@ -555,7 +555,7 @@ public class TestCollectionOperations {
"[].stream().average().orElseGet(()->()->10)",
Object.class);
- ((Optional) result).get();
+ Assert.assertEquals(Long.valueOf(10), result);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]