Removed doTest(char), since it was erroneous.

If lookupString and tailText are both null, completionChar is ignored.
This commit is contained in:
Evgeny Gerashchenko
2012-10-30 18:25:25 +04:00
parent 5c88e40772
commit abdc99e1d7
@@ -80,7 +80,7 @@ public class CompletionHandlerTest extends LightCompletionTestCase {
}
public void testFunctionLiteralInsertOnSpace() {
doTest(' ');
doTest(CompletionType.BASIC, 2, null, null, ' ');
}
public void testInsertImportOnTab() {
@@ -108,11 +108,7 @@ public class CompletionHandlerTest extends LightCompletionTestCase {
}
public void doTest() {
doTest('\n');
}
public void doTest(char completionChar) {
doTest(CompletionType.BASIC, 2, null, null, completionChar);
doTest(CompletionType.BASIC, 2, null, null, '\n');
}
public void doTest(CompletionType type, int time, @Nullable String lookupString, @Nullable String tailText, char completionChar) {