Adjust various testData to remove/charAt transformation

This commit is contained in:
Denis Zharkov
2015-10-11 12:40:39 +03:00
parent 6d864e0854
commit a76a8fcc3f
20 changed files with 30 additions and 30 deletions
@@ -384,7 +384,7 @@ public class PackageGenTest extends CodegenTestCase {
}
public void testCallMethodDeclaredInSuperclass() throws Exception {
loadText("fun foo(sb: StringBuilder) = sb.charAt(0)");
loadText("fun foo(sb: StringBuilder) = sb.get(0)");
Method main = generateFunction();
StringBuilder sb = new StringBuilder("x");
assertEquals('x', ((Character) main.invoke(null, sb)).charValue());