JS backend: _commonFiles/ for common kotlin files in testData/ and every test dir

This commit is contained in:
Alexey Tsvetkov
2014-07-11 19:35:53 +04:00
committed by Zalim Bashorov
parent 9b433e31a2
commit dd3dbe5b10
35 changed files with 127 additions and 245 deletions
@@ -7,10 +7,6 @@ val bar = { Int.(a: Int) -> this * a }
fun test(op: Int.(Int) -> Int) = 3 op 20
fun assertEquals<T>(expected: T, actual: T) {
if (expected != actual) throw Exception("expected: $expected, actual: $actual")
}
fun box(): String {
val op = { Int.(a: Int) -> this / a }