fix tests in org.jetbrains.kotlin.js.test.semantics
This commit is contained in:
+2
-2
@@ -2,9 +2,9 @@ import utils.*
|
||||
|
||||
// CHECK_CONTAINS_NO_CALLS: test
|
||||
|
||||
fun multiplyBy2(x: Int): Int = x * 2
|
||||
internal fun multiplyBy2(x: Int): Int = x * 2
|
||||
|
||||
fun test(x: Int): Int = apply(x, ::multiplyBy2)
|
||||
internal fun test(x: Int): Int = apply(x, ::multiplyBy2)
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(6, test(3))
|
||||
|
||||
Reference in New Issue
Block a user