JS: added test case, where inline call in "for" is used

This commit is contained in:
Alexey Tsvetkov
2015-04-10 19:04:48 +03:00
parent 27a1861263
commit 78a6b95f5a
@@ -0,0 +1,11 @@
package foo
fun box(): String {
for (i in fizz(1)..buzz(3)) {
fizz(i)
}
assertEquals("fizz(1);buzz(3);fizz(1);fizz(2);fizz(3);", pullLog())
return "OK"
}