From 73b24f2b207cc0fa5df6556863fa5332bbdf5c44 Mon Sep 17 00:00:00 2001 From: mglukhikh Date: Wed, 26 Oct 2016 14:13:42 +0300 Subject: [PATCH] Build fix: "If then to elvis" inspection test --- .../ifThenToElvis/inspectionData/expected.xml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/idea/testData/intentions/branched/ifThenToElvis/inspectionData/expected.xml b/idea/testData/intentions/branched/ifThenToElvis/inspectionData/expected.xml index efbecb7ecd4..c229a862e9f 100644 --- a/idea/testData/intentions/branched/ifThenToElvis/inspectionData/expected.xml +++ b/idea/testData/intentions/branched/ifThenToElvis/inspectionData/expected.xml @@ -119,4 +119,44 @@ If-Then foldable to '?:' Replace 'if' expression with elvis expression + + isCheckWithSelector.kt + 4 + light_idea_test_case + + If-Then foldable to '?:' + Replace 'if' expression with elvis expression + + + isCheckWithSelectorChain.kt + 4 + light_idea_test_case + + If-Then foldable to '?:' + Replace 'if' expression with elvis expression + + + nullCheckWithSelector.kt + 4 + light_idea_test_case + + If-Then foldable to '?:' + Replace 'if' expression with elvis expression + + + nullCheckWithSelectorCall.kt + 5 + light_idea_test_case + + If-Then foldable to '?:' + Replace 'if' expression with elvis expression + + + nullCheckWithSelectorCallChain.kt + 5 + light_idea_test_case + + If-Then foldable to '?:' + Replace 'if' expression with elvis expression +