JS: move more test to box tests
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
package foo
|
||||
|
||||
interface AL {
|
||||
fun get(index: Int): Any? = null
|
||||
}
|
||||
|
||||
class SmartArrayList() : AL {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val c = SmartArrayList()
|
||||
return if (null == c.get(0)) return "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user