IDEA-53352 Completing multiple parameters inside if statement inserts semicolon incorrectly

This commit is contained in:
peter
2010-04-06 14:25:53 +04:00
parent e7caa62de3
commit 8ea4bb8771
5 changed files with 59 additions and 21 deletions
@@ -720,6 +720,13 @@ public class SmartTypeCompletionTest extends LightCompletionTestCase {
checkResultByTestName();
}
public void testSameMethodArgumentsInIf() throws Throwable {
configureByTestName();
getLookup().setCurrentItem(getLookup().getItems().get(1));
select();
checkResultByTestName();
}
public void testSuperConstructorArguments() throws Throwable {
configureByTestName();
getLookup().setCurrentItem(getLookup().getItems().get(2));