Rename tests: boxWithJava -> boxAgainstJava

This commit is contained in:
Alexander Udalov
2014-06-25 03:42:42 +04:00
parent 544cf4f28d
commit 09863445bb
163 changed files with 125 additions and 125 deletions
@@ -0,0 +1,12 @@
import test.staticField as E
fun box(): String {
val instances = E.INSTANCES
if (E.foo != 42)
return "Wrong foo ${E.foo}"
if (instances.size() != 1)
return "Wrong size ${instances.size()}"
if (E.INSTANCES.iterator().next() != E.INSTANCE)
return "Wrong instance ${E.INSTANCES.iterator().next()}"
return "OK"
}