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
@@ -10,5 +10,8 @@ fun box(): String {
val asIterable = List<Int>::asIterable
assertEquals("fun kotlin.collections.Iterable<T>.asIterable(): kotlin.collections.Iterable<T>", asIterable.toString())
val lazyOf: (String) -> Lazy<String> = ::lazyOf
assertEquals("fun lazyOf(T): kotlin.Lazy<T>", lazyOf.toString())
return "OK"
}