JS: added test case, where inline call in "for" is used
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user