blob: b7346aae232b5b2d177bab37619ad773ee05079e [file] [log] [blame] [edit]
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@kotlin.wasm.WasmExport
fun runBoxTest(): Boolean {
val boxResult = box() //TODO: Support non-root package box functions
val isOk = boxResult == "OK"
if (!isOk) {
println("Wrong box result '${boxResult}'; Expected 'OK'")
}
return isOk
}