From abdc99e1d77335a0e401de20838f0914fcdc0242 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Tue, 30 Oct 2012 18:25:25 +0400 Subject: [PATCH] Removed doTest(char), since it was erroneous. If lookupString and tailText are both null, completionChar is ignored. --- .../jet/completion/handlers/CompletionHandlerTest.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java b/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java index 6b1cd1d4670..3a15672434c 100644 --- a/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java +++ b/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java @@ -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) {