Corrected and restored test

This commit is contained in:
Valentin Kipyatkov
2015-09-30 18:26:09 +03:00
parent 1e21b0201c
commit 5fddefbf4d
2 changed files with 8 additions and 2 deletions
@@ -1,4 +1,4 @@
fun foo(p: () -> Unit){}
fun foo(p: (Int) -> Unit){}
fun bar() {
foo(<caret>)
@@ -7,4 +7,4 @@ fun bar() {
fun f(){}
fun f(i: Int){}
// ABSENT: ::f
// EXIST: ::f
@@ -603,6 +603,12 @@ public class JvmSmartCompletionTestGenerated extends AbstractJvmSmartCompletionT
doTest(fileName);
}
@TestMetadata("2.kt")
public void test2() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smart/callableReference/2.kt");
doTest(fileName);
}
@TestMetadata("3.kt")
public void test3() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/smart/callableReference/3.kt");