Put parameters on line: don't suggest if parameters has end-of-line comments

#KT-35214 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-12-02 19:06:05 +09:00
committed by igoriakovlev
parent efa981db36
commit 89cc5777ce
4 changed files with 30 additions and 1 deletions
@@ -10412,6 +10412,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/testData/intentions/joinArgumentList"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), null, true);
}
@TestMetadata("hasEndOfLineComment.kt")
public void testHasEndOfLineComment() throws Exception {
runTest("idea/testData/intentions/joinArgumentList/hasEndOfLineComment.kt");
}
@TestMetadata("hasLineBreakBeforeFirstArg.kt")
public void testHasLineBreakBeforeFirstArg() throws Exception {
runTest("idea/testData/intentions/joinArgumentList/hasLineBreakBeforeFirstArg.kt");
@@ -10613,6 +10618,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/testData/intentions/joinParameterList"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), null, true);
}
@TestMetadata("hasEndOfLineComment.kt")
public void testHasEndOfLineComment() throws Exception {
runTest("idea/testData/intentions/joinParameterList/hasEndOfLineComment.kt");
}
@TestMetadata("hasLineBreakBeforeFirstParam.kt")
public void testHasLineBreakBeforeFirstParam() throws Exception {
runTest("idea/testData/intentions/joinParameterList/hasLineBreakBeforeFirstParam.kt");