fix tests in org.jetbrains.kotlin.js.test.semantics

This commit is contained in:
Michael Nedzelsky
2015-09-07 22:21:52 +03:00
parent aa44606663
commit f6892580f6
57 changed files with 167 additions and 167 deletions
@@ -36,17 +36,17 @@ private object O {
}
}
fun test1(x: Int, y: Int): Int = apply(x) { it * y }
internal fun test1(x: Int, y: Int): Int = apply(x) { it * y }
fun test2(m: M, x: Int, y: Int): Int = m.applyM(x) { it * y }
internal fun test2(m: M, x: Int, y: Int): Int = m.applyM(x) { it * y }
fun test3(n: N, x: Int, y: Int): Int = n.applyN(x) { it * y }
internal fun test3(n: N, x: Int, y: Int): Int = n.applyN(x) { it * y }
object LTest : L() {
internal object LTest : L() {
fun test4(l: L, x: Int, y: Int): Int = l.applyL(x) { it * y }
}
fun test5(x: Int, y: Int): Int = O.OInner.applyO(x) { it * y }
internal fun test5(x: Int, y: Int): Int = O.OInner.applyO(x) { it * y }
fun box(): String {
assertEquals(6, test1(2, 3))