[K/N][tests] Split tests for Any.collectReferenceFieldValues

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-01-04 12:37:13 +01:00
committed by Space Team
parent d972fec13c
commit 55bff799a8
10 changed files with 272 additions and 133 deletions
@@ -0,0 +1,14 @@
/*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
import kotlin.native.internal.*
import kotlin.test.*
fun box(): String {
assertEquals("1234".collectReferenceFieldValues(), emptyList<Any>())
assertEquals("".collectReferenceFieldValues(), emptyList<Any>())
return "OK"
}