tests: Support box(): String? in the test launcher

This commit is contained in:
Ilya Matveev
2017-03-03 15:35:24 +03:00
committed by ilmat192
parent 7b7840f8b4
commit e815aa3f73
@@ -316,7 +316,8 @@ import kotlin.test.TestFailedException
fun main(args : Array<String>) {
try {
print(${pkg}box())
@Suppress("USELESS_ELVIS")
print(${pkg}box()?:"null")
} catch (e:TestFailedException) {
print("FAIL")
}