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:
Alexander Udalov
2019-03-15 17:41:34 +01:00
parent 719e25c3dd
commit 7aa75ab89b
2 changed files with 5 additions and 2 deletions
@@ -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"
}