b485c7ae26
BoxWithJava tests now by default are loaded with the classloader which has test's classpath in itself, as in the former ClassPathInTheSameClassLoaderTest
10 lines
172 B
Kotlin
10 lines
172 B
Kotlin
class A: funCallInConstructor(funCallInConstructor.protectedFun()) {
|
|
fun test(): String {
|
|
return protectedProperty!!
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return A().test()
|
|
}
|