JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package foo
|
||||
|
||||
var a: Int
|
||||
|
||||
|
||||
get() {
|
||||
return 5
|
||||
}
|
||||
set(b) {
|
||||
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return if (a == 5) "OK" else "fail: $a"
|
||||
}
|
||||
Reference in New Issue
Block a user