Do not suggest removing empty parentheses if lambda is on the next line

So #KT-15195 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-05-08 15:37:39 +03:00
parent 6968540889
commit 5246c54dad
3 changed files with 19 additions and 1 deletions
@@ -12242,6 +12242,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/removeEmptyParenthesesFromLambdaCall"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true);
}
@TestMetadata("nextLine.kt")
public void testNextLine() throws Exception {
runTest("idea/testData/intentions/removeEmptyParenthesesFromLambdaCall/nextLine.kt");
}
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("idea/testData/intentions/removeEmptyParenthesesFromLambdaCall/simple.kt");