Better tests
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
// FILE: rootPackage.kt
|
||||
class Klass {
|
||||
class Nested
|
||||
}
|
||||
|
||||
class NotImported
|
||||
|
||||
fun function() = ""
|
||||
|
||||
val property = ""
|
||||
@@ -16,6 +19,7 @@ fun foo(): Klass {
|
||||
package pkg
|
||||
|
||||
import Klass
|
||||
import Klass.Nested
|
||||
import function
|
||||
import property
|
||||
|
||||
@@ -23,3 +27,6 @@ fun foo(): Klass {
|
||||
function() + property
|
||||
return Klass()
|
||||
}
|
||||
|
||||
val v: Nested = Nested()
|
||||
val x: <!UNRESOLVED_REFERENCE!>NotImported<!> = <!UNRESOLVED_REFERENCE!>NotImported<!>()
|
||||
Reference in New Issue
Block a user