Add braces: Remove new line between '}' and 'else' #KT-26839 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-09-25 12:52:43 +09:00
committed by Mikhail Glukhikh
parent de261df6f5
commit 3e4d8eba76
8 changed files with 84 additions and 2 deletions
@@ -666,6 +666,21 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/addBraces/addBracesForIf.kt");
}
@TestMetadata("addBracesForIfWithIndent.kt")
public void testAddBracesForIfWithIndent() throws Exception {
runTest("idea/testData/intentions/addBraces/addBracesForIfWithIndent.kt");
}
@TestMetadata("addBracesForIfWithIndent2.kt")
public void testAddBracesForIfWithIndent2() throws Exception {
runTest("idea/testData/intentions/addBraces/addBracesForIfWithIndent2.kt");
}
@TestMetadata("addBracesForIfWithIndent3.kt")
public void testAddBracesForIfWithIndent3() throws Exception {
runTest("idea/testData/intentions/addBraces/addBracesForIfWithIndent3.kt");
}
@TestMetadata("addBracesForIfWithNoSpace.kt")
public void testAddBracesForIfWithNoSpace() throws Exception {
runTest("idea/testData/intentions/addBraces/addBracesForIfWithNoSpace.kt");