JS: move expressions test to box tests
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package foo
|
||||
|
||||
fun sum(param1: Int, param2: Int): Int {
|
||||
return param1 + param2;
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return if (sum(1, 5) == 6) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user