tests: Support box(): String? in the test launcher
This commit is contained in:
@@ -316,7 +316,8 @@ import kotlin.test.TestFailedException
|
|||||||
|
|
||||||
fun main(args : Array<String>) {
|
fun main(args : Array<String>) {
|
||||||
try {
|
try {
|
||||||
print(${pkg}box())
|
@Suppress("USELESS_ELVIS")
|
||||||
|
print(${pkg}box()?:"null")
|
||||||
} catch (e:TestFailedException) {
|
} catch (e:TestFailedException) {
|
||||||
print("FAIL")
|
print("FAIL")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user