Move statement: do not move when function last parameter is on same line as right parenthesis

#KT-14757 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-08-04 02:19:36 +09:00
committed by klunnii
parent 615636ed55
commit 1d39ac1d3e
4 changed files with 40 additions and 6 deletions
@@ -1436,6 +1436,11 @@ public class MoveStatementTestGenerated extends AbstractMoveStatementTest {
runTest("idea/testData/codeInsight/moveUpDown/parametersAndArguments/funParams1.kt");
}
@TestMetadata("funParams10.kt")
public void testFunParams10() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/parametersAndArguments/funParams10.kt");
}
@TestMetadata("funParams2.kt")
public void testFunParams2() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/parametersAndArguments/funParams2.kt");
@@ -1470,6 +1475,11 @@ public class MoveStatementTestGenerated extends AbstractMoveStatementTest {
public void testFunParams8() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/parametersAndArguments/funParams8.kt");
}
@TestMetadata("funParams9.kt")
public void testFunParams9() throws Exception {
runTest("idea/testData/codeInsight/moveUpDown/parametersAndArguments/funParams9.kt");
}
}
@TestMetadata("idea/testData/codeInsight/moveUpDown/trailingComma")