JS: move more test to box tests
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
package foo
|
||||
|
||||
interface I {
|
||||
fun test(): String
|
||||
}
|
||||
|
||||
class P : I {
|
||||
override fun test(): String {
|
||||
return "O" + test("K")
|
||||
}
|
||||
|
||||
private fun test(p: String): String {
|
||||
return p
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return P().test()
|
||||
}
|
||||
Reference in New Issue
Block a user