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
+3
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user