JS: move more test to box tests

This commit is contained in:
Alexey Andreev
2016-08-29 12:37:13 +03:00
parent efb82a044f
commit cdf2212c73
70 changed files with 484 additions and 749 deletions
+9
View File
@@ -0,0 +1,9 @@
package foo
fun <A, B, C> run(a: A, b: B, func: (A, B) -> C): C = js("func(a, b)")
fun box(): String {
assertEquals(3, run(1, 2) { a, b -> a + b})
return "OK"
}