Checked that KT-2832 has been fixed
#KT-2832 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun foo() {
|
||||
Math.pow(2.0 <caret>)
|
||||
}
|
||||
|
||||
// EXIST: !in
|
||||
// EXIST: !is
|
||||
// EXIST: as
|
||||
// EXIST: in
|
||||
// EXIST: is
|
||||
// NUMBER: 5
|
||||
@@ -17,9 +17,13 @@
|
||||
package org.jetbrains.jet.completion;
|
||||
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.InnerTestClasses;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
import org.jetbrains.jet.JUnit3RunnerWithInners;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -64,6 +68,12 @@ public class KeywordCompletionTestGenerated extends AbstractKeywordCompletionTes
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/completion/keywords"), Pattern.compile("^(.+)\\.kt$"), false);
|
||||
}
|
||||
|
||||
@TestMetadata("CommaExpected.kt")
|
||||
public void testCommaExpected() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/keywords/CommaExpected.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("InArgumentList.kt")
|
||||
public void testInArgumentList() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/keywords/InArgumentList.kt");
|
||||
|
||||
Reference in New Issue
Block a user