JS tests: disable Rhino optimization by default.

This commit is contained in:
Zalim Bashorov
2014-10-03 20:42:48 +04:00
parent 20f20f9441
commit 25172d797e
5 changed files with 11 additions and 16 deletions
@@ -9,6 +9,7 @@ fun f(a: Int): Int {
return y
}
fun box(): Int {
return f(y)
fun box(): String {
val r = f(y)
return if (r == 50) "OK" else "Fail, r = $r"
}