Autoimports tests has been updated.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
package some
|
||||
|
||||
import kotlin.util.measureTimeNano
|
||||
|
||||
fun testFun() {
|
||||
measureTimeNano()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
package some
|
||||
|
||||
fun testFun() {
|
||||
<caret>measureTimeNano()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
|
||||
import TestData.TestSample
|
||||
|
||||
fun test() {
|
||||
val a = TestSample
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
|
||||
fun test() {
|
||||
val a = <caret>TestSample
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
package testingExtensionFunctionsImport
|
||||
|
||||
import testingExtensionFunctionsImport.data.someFun
|
||||
@@ -6,4 +6,4 @@ import testingExtensionFunctionsImport.data.someFun
|
||||
fun some() {
|
||||
val str = ""
|
||||
str.someFun()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
package testingExtensionFunctionsImport
|
||||
|
||||
fun some() {
|
||||
val str = ""
|
||||
str.<caret>someFun()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
package functionimporttest
|
||||
|
||||
import functionimporttest.data.someTestFun
|
||||
|
||||
fun functionImportTest() {
|
||||
someTestFun()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// "Import Class" "true"
|
||||
// "Import" "true"
|
||||
package functionimporttest
|
||||
|
||||
fun functionImportTest() {
|
||||
<caret>someTestFun()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user