Minor, update reflection tests on stdlib
Since functionFromStdlibSingleFileFacade.kt was introduced, lazyOf was also moved to a multifile class, so we're using another function to test that reflection on a single file package facade from stdlib works
This commit is contained in:
Vendored
+2
-2
@@ -7,8 +7,8 @@
|
||||
import kotlin.test.*
|
||||
|
||||
fun box(): String {
|
||||
val lazyOf: (String) -> Lazy<String> = ::lazyOf
|
||||
assertEquals("fun lazyOf(T): kotlin.Lazy<T>", lazyOf.toString())
|
||||
val hashCode = Any?::hashCode
|
||||
assertEquals("fun kotlin.Any?.hashCode(): kotlin.Int", hashCode.toString())
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user