"Remove argument name" intention: remove array literal brackets for annotation vararg argument

#KT-32318 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-07-04 22:17:14 +09:00
committed by Dmitry Gridin
parent d33d1913cb
commit 9786564d75
6 changed files with 56 additions and 11 deletions
@@ -12618,6 +12618,16 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/removeArgumentName"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true);
}
@TestMetadata("arrayLiteral.kt")
public void testArrayLiteral() throws Exception {
runTest("idea/testData/intentions/removeArgumentName/arrayLiteral.kt");
}
@TestMetadata("arrayLiteralForVararg.kt")
public void testArrayLiteralForVararg() throws Exception {
runTest("idea/testData/intentions/removeArgumentName/arrayLiteralForVararg.kt");
}
@TestMetadata("namedArgumentBefore.kt")
public void testNamedArgumentBefore() throws Exception {
runTest("idea/testData/intentions/removeArgumentName/namedArgumentBefore.kt");