Add braces: don't insert extra line break and move the following comment
#KT-36194 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
905d0c1016
commit
777995a3a0
@@ -764,6 +764,16 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
runTest("idea/testData/intentions/addBraces/forWithComment.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("hasCommentOnNextLine.kt")
|
||||
public void testHasCommentOnNextLine() throws Exception {
|
||||
runTest("idea/testData/intentions/addBraces/hasCommentOnNextLine.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("hasCommentOnNextLine2.kt")
|
||||
public void testHasCommentOnNextLine2() throws Exception {
|
||||
runTest("idea/testData/intentions/addBraces/hasCommentOnNextLine2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ifElseWithComment.kt")
|
||||
public void testIfElseWithComment() throws Exception {
|
||||
runTest("idea/testData/intentions/addBraces/ifElseWithComment.kt");
|
||||
|
||||
Reference in New Issue
Block a user