From d70b46fd3774483143eef322c61ea345c2e1f091 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Sat, 23 Apr 2016 01:56:51 +0300 Subject: [PATCH] Change evaluation test data not to encounter special implementation of single element list. --- idea/testData/debugger/tinyApp/outs/collections.out | 2 +- .../tinyApp/src/evaluate/singleBreakpoint/collections.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/idea/testData/debugger/tinyApp/outs/collections.out b/idea/testData/debugger/tinyApp/outs/collections.out index 0774a68cfaf..5fd319054da 100644 --- a/idea/testData/debugger/tinyApp/outs/collections.out +++ b/idea/testData/debugger/tinyApp/outs/collections.out @@ -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 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt index 3238557a2bb..a082a3b1730 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt @@ -21,5 +21,5 @@ fun main(args: Array) { // 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;