Change evaluation test data not to encounter special implementation of single element list.
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ Compile bytecode for arrayListOf(1, 2, 101, 102).filter { it > 100 }
|
||||
Compile bytecode for arrayListOf(1, 2).max()
|
||||
Compile bytecode for arrayListOf(1, 2).count()
|
||||
Compile bytecode for arrayListOf(1, 2).size
|
||||
Compile bytecode for arrayListOf(1, 2).drop(1)
|
||||
Compile bytecode for arrayListOf(1, 2, 3).drop(1)
|
||||
Compile bytecode for ar.map { if (it > 50) "big" else "small" }
|
||||
.filter { it == "small" }
|
||||
.size
|
||||
|
||||
+1
-1
@@ -21,5 +21,5 @@ fun main(args: Array<String>) {
|
||||
// EXPRESSION: arrayListOf(1, 2).size
|
||||
// RESULT: 2: I
|
||||
|
||||
// EXPRESSION: arrayListOf(1, 2).drop(1)
|
||||
// EXPRESSION: arrayListOf(1, 2, 3).drop(1)
|
||||
// RESULT: instance of java.util.ArrayList(id=ID): Ljava/util/ArrayList;
|
||||
|
||||
Reference in New Issue
Block a user