tests for KT-828 (fromm Sergey Ignatov)

This commit is contained in:
Alex Tkachman
2011-12-14 15:06:54 +02:00
committed by Nikolay Krasko
parent 99f7eb7123
commit 314bb73ac9
3 changed files with 31 additions and 0 deletions
@@ -84,6 +84,10 @@ public class StdlibTest extends CodegenTestCase {
// blackBoxFile("regressions/kt789.jet");
}
public void testKt828 () {
blackBoxFile("regressions/kt828.kt");
}
public void testCollectionSize () throws Exception {
loadText("import std.util.*; fun box() = if(java.util.Arrays.asList(0, 1, 2)?.size == 3) \"OK\" else \"fail\"");
// System.out.println(generateToText());