Better test

This commit is contained in:
Valentin Kipyatkov
2015-08-24 19:00:56 +03:00
parent fd34ff3239
commit 6c46e3ec02
3 changed files with 11 additions and 11 deletions
@@ -1,5 +1,5 @@
package some package some
fun foo() = 12 fun foo() = 12
fun fooImported() = 12 fun foo2Imported() = 12
fun fooNotImported() = 12 fun foo1NotImported() = 12
@@ -1,3 +1,3 @@
package test package test
fun fooFromSamePackage() = 12 fun foo3FromSamePackage() = 12
@@ -1,19 +1,19 @@
package test package test
import some.fooImported import some.foo2Imported
val fooVar = 12 val foo5Var = 12
fun fooCurentFile() = 12 fun foo4CurentFile() = 12
val some = foo<caret> val some = foo<caret>
// "foo" is before other elements because of exact prefix match // "foo" is before other elements because of exact prefix match
// ORDER: foo // ORDER: foo
// ORDER: fooVar // ORDER: foo5Var
// ORDER: fooCurentFile // ORDER: foo4CurentFile
// ORDER: fooFromSamePackage // ORDER: foo3FromSamePackage
// ORDER: fooImported // ORDER: foo2Imported
// ORDER: fooNotImported // ORDER: foo1NotImported
// INVOCATION_COUNT: 2 // INVOCATION_COUNT: 2
// SELECTED: 0 // SELECTED: 0