RemoveBracesIntention: add new line for long expression

#KT-30523 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-01-06 12:22:11 +09:00
committed by Yan Zhulanow
parent 731848849e
commit f4b9c4777f
6 changed files with 51 additions and 0 deletions
@@ -13781,6 +13781,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/removeBraces/ifLambda2.kt");
}
@TestMetadata("ifLong.kt")
public void testIfLong() throws Exception {
runTest("idea/testData/intentions/removeBraces/ifLong.kt");
}
@TestMetadata("ifWithComment.kt")
public void testIfWithComment() throws Exception {
runTest("idea/testData/intentions/removeBraces/ifWithComment.kt");
@@ -13826,6 +13831,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/removeBraces/whenLambda3.kt");
}
@TestMetadata("whenLong.kt")
public void testWhenLong() throws Exception {
runTest("idea/testData/intentions/removeBraces/whenLong.kt");
}
@TestMetadata("whenMultiple.kt")
public void testWhenMultiple() throws Exception {
runTest("idea/testData/intentions/removeBraces/whenMultiple.kt");