fixing TODOs
This commit is contained in:
parent
9e7cb0e1cf
commit
80075f18ce
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue