fixing TODOs

This commit is contained in:
Andy Clement 2008-08-17 01:26:11 +00:00
parent 9e7cb0e1cf
commit 80075f18ce
1 changed files with 23 additions and 24 deletions

View File

@ -43,7 +43,6 @@ public class MethodInvocationTests extends ExpressionTestCase {
public void testStringClass() { public void testStringClass() {
evaluate("new java.lang.String('hello').charAt(2)", 'l', Character.class); evaluate("new java.lang.String('hello').charAt(2)", 'l', Character.class);
// TODO 3 hmmm, have to do the second charAt() because all '' are strings, never chars and cannot do cast
evaluate("new java.lang.String('hello').charAt(2).equals('l'.charAt(0))", true, Boolean.class); evaluate("new java.lang.String('hello').charAt(2).equals('l'.charAt(0))", true, Boolean.class);
evaluate("'HELLO'.toLowerCase()", "hello", String.class); evaluate("'HELLO'.toLowerCase()", "hello", String.class);
evaluate("' abcba '.trim()", "abcba", String.class); evaluate("' abcba '.trim()", "abcba", String.class);