From 8b4f8e8359d106f0baea8e53fce791ae58704085 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Tue, 9 Aug 2016 19:25:54 +0300 Subject: [PATCH] Corrected test data after rebase on master --- .../firstOrNull_ifAssign_preserveComments.kt.after | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/idea/testData/intentions/loopToCallChain/firstOrNull_ifAssign_preserveComments.kt.after b/idea/testData/intentions/loopToCallChain/firstOrNull_ifAssign_preserveComments.kt.after index 0f6c87ba17d..17e2570e368 100644 --- a/idea/testData/intentions/loopToCallChain/firstOrNull_ifAssign_preserveComments.kt.after +++ b/idea/testData/intentions/loopToCallChain/firstOrNull_ifAssign_preserveComments.kt.after @@ -1,8 +1,9 @@ // WITH_RUNTIME // INTENTION_TEXT: "Replace with 'firstOrNull{}'" fun foo(list: List) { - val result: String? = list.firstOrNull { // search for first non-empty string in the list - it.length > 0 - }// string should be non-empty + // string should be non-empty // save it into result + val result: String? = list.firstOrNull { // search for first non-empty string in the list + it.length > 0 + } } \ No newline at end of file