"Merge 'if's" intention: do not remove nested comments

#KT-33258 Fixed
#KT-39552 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-11-12 12:22:52 +09:00
committed by igoriakovlev
parent f6e70cfed8
commit 9ff7539ff0
7 changed files with 66 additions and 1 deletions
@@ -12225,6 +12225,16 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/mergeIfs/comments.kt");
}
@TestMetadata("comments2.kt")
public void testComments2() throws Exception {
runTest("idea/testData/intentions/mergeIfs/comments2.kt");
}
@TestMetadata("comments3.kt")
public void testComments3() throws Exception {
runTest("idea/testData/intentions/mergeIfs/comments3.kt");
}
@TestMetadata("else1.kt")
public void testElse1() throws Exception {
runTest("idea/testData/intentions/mergeIfs/else1.kt");